about summary refs log tree commit diff
path: root/scripts/nix-push.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-push.in')
-rw-r--r--scripts/nix-push.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index 84330016f310..fc44d02c6cba 100644
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -92,7 +92,7 @@ while (scalar @tmp > 0) {
     my @tmp2 = @tmp[0..$n - 1];
     @tmp = @tmp[$n..scalar @tmp - 1];
 
-    system "@bindir@/nix-store --realise -B @tmp2 > /dev/null";
+    system "@bindir@/nix-store --realise @tmp2 > /dev/null";
     if ($?) { die "`nix-store --realise' failed"; }
 
     open NARPATHS, "@bindir@/nix-store --query --list @tmp2 |" or die "cannot run nix";