about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-06-22T15·17+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-06-22T15·17+0000
commitd051cd40e16119ed441276f5b2cb74b7983062c3 (patch)
treed75139472dc297bb27f26d70e19473a54fc647cc
parent3093af58a7e9d3f0315a1a1040d3cfeaea051ba6 (diff)
* Nix-instantiate can return multiple store expressions.
-rwxr-xr-xscripts/nix-build.in4
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