diff options
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-hashfile.nix')
-rw-r--r-- | third_party/nix/src/tests/lang/eval-okay-hashfile.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-hashfile.nix b/third_party/nix/src/tests/lang/eval-okay-hashfile.nix new file mode 100644 index 000000000000..aff5a1856814 --- /dev/null +++ b/third_party/nix/src/tests/lang/eval-okay-hashfile.nix @@ -0,0 +1,4 @@ +let + paths = [ ./data ./binary-data ]; +in + builtins.concatLists (map (hash: map (builtins.hashFile hash) paths) ["md5" "sha1" "sha256" "sha512"]) |