mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
* Nix-instantiate can return multiple store expressions.
This commit is contained in:
parent
3093af58a7
commit
d051cd40e1
1 changed files with 3 additions and 1 deletions
|
@ -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