diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-06-22T15·17+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-06-22T15·17+0000 |
commit | d051cd40e16119ed441276f5b2cb74b7983062c3 (patch) | |
tree | d75139472dc297bb27f26d70e19473a54fc647cc /scripts/nix-build.in | |
parent | 3093af58a7e9d3f0315a1a1040d3cfeaea051ba6 (diff) |
* Nix-instantiate can return multiple store expressions.
Diffstat (limited to 'scripts/nix-build.in')
-rwxr-xr-x | scripts/nix-build.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index a50901135ed6..c02f869bde55 100755 --- a/scripts/nix-build.in +++ b/scripts/nix-build.in @@ -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 |