about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-groupBy.nix
blob: 862d89dbd67052fd43c754aa34759d516558b9b3 (plain) (blame)
1
2
3
4
5
with import ./lib.nix;

builtins.groupBy (n:
  builtins.substring 0 1 (builtins.hashString "sha256" (toString n))
) (range 0 31)