aboutsummaryrefslogtreecommitdiff
path: root/nix/libstore
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-29 23:21:51 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-29 23:55:56 +0100
commitd4fac4be0d1bca80a8e78d217b33f887a2843b74 (patch)
tree5967cd0e2fd7486e98dd4e0c7e4b51022534082c /nix/libstore
parenta8ffe16066adc1a707e24007ce34c193513e9e3e (diff)
downloadguix-d4fac4be0d1bca80a8e78d217b33f887a2843b74.tar
guix-d4fac4be0d1bca80a8e78d217b33f887a2843b74.tar.gz
daemon: Remove pre-Guix hack.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Remove "NIX_OUTPUT_CHECKED" hack.
Diffstat (limited to 'nix/libstore')
-rw-r--r--nix/libstore/build.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index c894d72bda..70ee354e50 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -1638,12 +1638,6 @@ void DerivationGoal::startBuilder()
getdents returns the inode of the mount point). */
env["PWD"] = tmpDirInSandbox;
- /* Compatibility hack with Nix <= 0.7: if this is a fixed-output
- derivation, tell the builder, so that for instance `fetchurl'
- can skip checking the output. On older Nixes, this environment
- variable won't be set, so `fetchurl' will do the check. */
- if (fixedOutput) env["NIX_OUTPUT_CHECKED"] = "1";
-
/* *Only* if this is a fixed-output derivation, propagate the
values of the environment variables specified in the
`impureEnvVars' attribute to the builder. This allows for