1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 15:13:55 +02:00

nix-env: Fix parsing of --system

https://hydra.nixos.org/build/68827814
This commit is contained in:
Eelco Dolstra 2018-02-08 15:25:03 +01:00
parent 444bae44ef
commit ad97a21834
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 7 additions and 0 deletions

View file

@ -24,6 +24,9 @@ rm -f $HOME/.nix-defexpr
ln -s $(pwd)/user-envs.nix $HOME/.nix-defexpr
nix-env -qa '*' --description | grep -q silly
# Query the system.
nix-env -qa '*' --system | grep -q $system
# Install "foo-1.0".
nix-env -i foo-1.0