blob: 877d4e5fa315f1ce999bc76ed2eaeef2c58100f3 (
plain)
1
2
3
4
5
6
7
8
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))
|