From d051cd40e16119ed441276f5b2cb74b7983062c3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 22 Jun 2004 15:17:04 +0000 Subject: [PATCH] * Nix-instantiate can return multiple store expressions. --- scripts/nix-build.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/nix-build.in b/scripts/nix-build.in index a50901135..c02f869bd 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