aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-okay-hashfile.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-okay-hashfile.nix')
-rw-r--r--test/testdata/eval-okay-hashfile.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-hashfile.nix b/test/testdata/eval-okay-hashfile.nix
new file mode 100644
index 0000000..aff5a18
--- /dev/null
+++ b/test/testdata/eval-okay-hashfile.nix
@@ -0,0 +1,4 @@
1let
2 paths = [ ./data ./binary-data ];
3in
4 builtins.concatLists (map (hash: map (builtins.hashFile hash) paths) ["md5" "sha1" "sha256" "sha512"])