[Nix-dev] Hydra no longer sets 'system'?
Peter Simons
simons at cryp.to
Wed Sep 18 18:50:19 CEST 2013
Vladimír Čunát writes:
> I think it would be enough to have a same-platform attribute with high
> priority, which would shadow the other versions.
Exactly. If nix-env would by default prefer expressions that match its
own 'system', then this kind of surprise wouldn't happen, but it would
still be possible to install 'wine' on x86_64-linux even though it has
only a i686-linux version.
It never occurred to me that I might have to specify a --system-filter,
because the Nixpkgs channel doesn't require anything that either. Now I
realize that the Nixpkgs channel ships a real Nix expression set,
whereas the hydra channel ships just a bunch of store paths with no
additional logic.
Peter
More information about the nix-dev
mailing list