Valid Nix store path names

From NixOS Wiki
Revision as of 21:41, 30 October 2021 by imported>Milahu (Created page with "All files and folders in <code>/nix/store</code> match the regular expression <syntaxHighlight> [0-9a-f]{32}-[-.+_0-9a-zA-Z]+ </syntaxHighlight> * <code>[0-9a-f]{32}</code>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

All files and folders in /nix/store match the regular expression

[0-9a-f]{32}-[-.+_0-9a-zA-Z]+
  • [0-9a-f]{32} is the hash
  • [-.+_0-9a-zA-Z]+ is the name

See also