aboutsummaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-05-07 17:32:01 -0500
committerEelco Dolstra <edolstra@gmail.com>2019-05-08 10:04:54 +0200
commita83486187616fd2de877ce72f5fd419385a2c541 (patch)
treee9c4260ac3873edae9a4b7c6936463c3b6ba6fca /tests/lang
parent7becb1bf1c2ec1544a5374580a97b36273506baf (diff)
fix hashfile test that wasn't failing due to eval laziness
See: https://github.com/NixOS/nix/commit/7becb1bf1c2ec1544a5374580a97b36273506baf#r33450554
Diffstat (limited to 'tests/lang')
-rw-r--r--tests/lang/eval-fail-hashfile-missing.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/eval-fail-hashfile-missing.nix b/tests/lang/eval-fail-hashfile-missing.nix
index 42fb1ec7e..ce098b823 100644
--- a/tests/lang/eval-fail-hashfile-missing.nix
+++ b/tests/lang/eval-fail-hashfile-missing.nix
@@ -1,5 +1,5 @@
let
paths = [ ./this-file-is-definitely-not-there-7392097 "/and/neither/is/this/37293620" ];
in
- builtins.concatLists (map (hash: map (builtins.hashFile hash) paths) ["md5" "sha1" "sha256" "sha512"])
+ toString (builtins.concatLists (map (hash: map (builtins.hashFile hash) paths) ["md5" "sha1" "sha256" "sha512"]))