CASCADE/functions/name-to-mac.nix

5 lines
135 B
Nix
Raw Normal View History

2022-09-27 16:07:58 +00:00
with import (toString ./.);
with builtins;
elts: name: join-string ":" (take elts (match-all-flat "(..)" (hashString "sha256" name)))