diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-18 17:36:42 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-18 17:36:42 +0000 |
commit | 28972864879a63c4110211d9852b692672869a2a (patch) | |
tree | b7dc88b7a10f2f65aea0cbe553d985ddb6f3f67f /scripts | |
parent | e530e0a35041b3135b521f1b2dbc21fabfb00d47 (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.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/nix-push.in b/scripts/nix-push.in index ba611465c..38097f740 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; |