about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-18T17·36+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-18T17·36+0000
commit28972864879a63c4110211d9852b692672869a2a (patch)
treeb7dc88b7a10f2f65aea0cbe553d985ddb6f3f67f /scripts
parente530e0a35041b3135b521f1b2dbc21fabfb00d47 (diff)
* Unify exportReferencesGraph and exportBuildReferencesGraph, and make
  sure that it works as expected when you pass it a derivation.  That
  is, we have to make sure that all build-time dependencies are built,
  and that they are all in the input closure (otherwise remote builds
  might fail, for example).  This is ensured at instantiation time by
  adding all derivations and their sources to inputDrvs and inputSrcs.

Diffstat (limited to 'scripts')
-rw-r--r--scripts/nix-push.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in
index ba611465c9..38097f7401 100644
--- a/scripts/nix-push.in
+++ b/scripts/nix-push.in
@@ -140,11 +140,7 @@ while (scalar @tmp > 0) {
     my @tmp2 = @tmp[0..$n - 1];
     @tmp = @tmp[$n..scalar @tmp - 1];
 
-    # Note: we disable build hooks because of the impure path
-    # 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, "$binDir/nix-store --no-build-hook --realise @tmp2|")
+    my $pid = open(READ, "$binDir/nix-store --realise @tmp2|")
         or die "cannot run nix-store";
     while (<READ>) {
         chomp;