Looking a little bit further, I compared the hashes in my store with the hashes in
~/.nix-defexpr/channels/nixpkgs_latest/default.nix
(nixpkgs_latest is the only channel I subscribed)
from which it is clear that nix installed the binaries for the wrong architecture.

Can this be a bug of nix itself?

I rollback to an older configuration, but know I have no idea how to make nix choose the
packages for the right architecture.

M.


Quoting [email protected]:

Hi,
I just updated nixpkgs on my MacBook (32bit) with

nix-channel --update
nix-env --always -u \*

and now I get the following error:

soyuz:~ maggesi$ nix-env
-bash: /Users/maggesi/.nix-profile/bin/nix-env: Bad CPU type in executable

Perhaps nix on macbook has switched to 64bit recently?

Thanks,
Marco

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to