mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
* Nix-instantiate can return multiple store expressions.
This commit is contained in:
parent
3093af58a7
commit
d051cd40e1
@ -16,7 +16,9 @@ for i in "$@"; do
|
||||
;;
|
||||
*)
|
||||
storeExpr=$(nix-instantiate "$i")
|
||||
echo "store expression is $storeExpr" >&2
|
||||
for j in $storeExpr; do
|
||||
echo "store expression is $j" >&2
|
||||
done
|
||||
nix-store -qnfv $extraArgs $storeExpr
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user