fix hashfile test that wasn't failing due to eval laziness

See:
https://github.com/NixOS/nix/commit/7becb1bf1c2ec1544a5374580a97b36273506baf#r33450554
This commit is contained in:
Will Dietz
2019-05-08 10:04:54 +02:00
committed by Eelco Dolstra
parent 7becb1bf1c
commit a834861876
+1 -1
View File
@@ -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"]))