* 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 a new issue