aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-hashfile.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-okay-hashfile.nix')
-rw-r--r--tests/functional/lang/eval-okay-hashfile.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-hashfile.nix b/tests/functional/lang/eval-okay-hashfile.nix
new file mode 100644
index 000000000..aff5a1856
--- /dev/null
+++ b/tests/functional/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"])