aboutsummaryrefslogtreecommitdiff
path: root/tests/check.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check.nix')
-rw-r--r--tests/check.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check.nix b/tests/check.nix
index bca04fdaf..ec455ae2d 100644
--- a/tests/check.nix
+++ b/tests/check.nix
@@ -44,7 +44,7 @@ with import ./config.nix;
};
hashmismatch = import <nix/fetchurl.nix> {
- url = "file://" + toString ./dummy;
+ url = "file://" + builtins.getEnv "TMPDIR" + "/dummy";
sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73";
};