Valid Nix store path names: Difference between revisions
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>..." |
imported from old wiki |
||
Line 2: | Line 2: | ||
<syntaxHighlight> | <syntaxHighlight> | ||
[0-9a- | [0-9a-z]{32}-[-.+_?=0-9a-zA-Z]+ | ||
</syntaxHighlight> | </syntaxHighlight> | ||
* <code>[0-9a-f]{32}</code> is the hash | * <code>[0-9a-f]{32}</code> is the hash | ||
* <code>[-.+ | * <code>[-.+_?=0-9a-zA-Z]+</code> is the name | ||
== See also == | == See also == |
Revision as of 09:58, 13 September 2024
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