Nix path function
path
takes a set of attributes describing an enriched version of the built in path type. The path
attribute is required. The name
attribute determines the Nix storeᛦ name. The filter
attribute takes a filter like that in filterSourceᛦ. recursive
will store a flat hash if false
or a NAR archive hash if set to true
(the default). See fixed-output derivationsᛦ for more information. The sha256
argument is the expected sha256
hash of the file at path
.