* Nix-instantiate can return multiple store expressions.

This commit is contained in:
Eelco Dolstra 2004-06-22 15:17:04 +00:00
parent 3093af58a7
commit d051cd40e1

View file

@ -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