Valid Nix store path names

From NixOS Wiki
Revision as of 19:48, 13 September 2024 by Klinger (talk | contribs) (Category:Nix added)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

[0-9a-z]{32}-[-.+_?=0-9a-zA-Z]+
  • [0-9a-f]{32} is the hash
  • [-.+_?=0-9a-zA-Z]+ is the name

See also