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.