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

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to