diff options
author | Will Dietz <w@wdtz.org> | 2019-05-07T22·32-0500 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-05-08T08·04+0200 |
commit | a83486187616fd2de877ce72f5fd419385a2c541 (patch) | |
tree | e9c4260ac3873edae9a4b7c6936463c3b6ba6fca /tests/lang | |
parent | 7becb1bf1c2ec1544a5374580a97b36273506baf (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.nix | 2 |
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 42fb1ec7ed8d..ce098b82380a 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"])) |