diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-11-17T13·58+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-11-17T13·58+0000 |
commit | dc528128cc5230c9eb7da0abb0a791f94e0e3b56 (patch) | |
tree | cc31e73856afcaf0378b227ecb2520efc7014757 | |
parent | 44409f52c1984542d1e565b55e5b94f29c686c7b (diff) |
* FreeBSD compatibility fix.
-rw-r--r-- | scripts/nix-push.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in index 85b74b84cc95..d6abf62ee6e9 100644 --- a/scripts/nix-push.in +++ b/scripts/nix-push.in @@ -132,7 +132,8 @@ while (scalar @tmp > 0) { # reference (see above). Even if that is fixed, using a hook # probably wouldn't make that much sense; pumping lots of data # around just to compress them won't gain that much. - my $pid = open(READ, "NIX_BUILD_HOOK= $binDir/nix-store --realise @tmp2|") + $ENV{"NIX_BUILD_HOOK"} = ""; + my $pid = open(READ, "$binDir/nix-store --realise @tmp2|") or die "cannot run nix-store"; while (<READ>) { chomp; |