Valid Nix store path names

From NixOS Wiki
Revision as of 09:58, 13 September 2024 by Mic92 (talk | contribs) (imported from old wiki)

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