From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-okay-zipAttrsWith.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/testdata/eval-okay-zipAttrsWith.nix (limited to 'test/testdata/eval-okay-zipAttrsWith.nix') diff --git a/test/testdata/eval-okay-zipAttrsWith.nix b/test/testdata/eval-okay-zipAttrsWith.nix new file mode 100644 index 0000000..877d4e5 --- /dev/null +++ b/test/testdata/eval-okay-zipAttrsWith.nix @@ -0,0 +1,9 @@ +with import ./lib.nix; + +let + str = builtins.hashString "sha256" "test"; +in +builtins.zipAttrsWith + (n: v: { inherit n v; }) + (map (n: { ${builtins.substring n 1 str} = n; }) + (range 0 31)) -- cgit v1.2.3