aboutsummaryrefslogtreecommitdiff
path: root/tests/impure-derivations.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-31 16:56:44 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-03-31 16:56:44 +0200
commit75370972847a1b992055085f39b38f1f659e5275 (patch)
treebfb7cf9c450abd2b06608a0bdbfdd4f619aae2ff /tests/impure-derivations.nix
parenta99af85a770df462985b621c4c3dd710b8487f44 (diff)
Provide default values for outputHashAlgo and outputHashMode
Diffstat (limited to 'tests/impure-derivations.nix')
-rw-r--r--tests/impure-derivations.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/impure-derivations.nix b/tests/impure-derivations.nix
index 2fed56fe7..98547e6c1 100644
--- a/tests/impure-derivations.nix
+++ b/tests/impure-derivations.nix
@@ -15,8 +15,6 @@ rec {
printf $((x + 1)) > $TEST_ROOT/counter
'';
__impure = true;
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
impureEnvVars = [ "TEST_ROOT" ];
};
@@ -32,8 +30,6 @@ rec {
ln -s $out $out/self
'';
__impure = true;
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
};
# This is not allowed.
@@ -53,7 +49,6 @@ rec {
x=$(< ${impureOnImpure}/n)
printf ''${x:0:1} > $out
'';
- outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "sha256-eBYxcgkuWuiqs4cKNgKwkb3vY/HR0vVsJnqe8itJGcQ=";
};