Open
Description
An output outputHashMode
argument attribute should be supported by all of
-
builtins.derivation
-
builtins.path
-
builtins.fetchTree
-
builtins.fetchurl
In order to specify which ContentAddressMethod
is used for creating store paths.
Misc notes:
-
For
builtins.derivation
this is specifying that for a content addressed (fixed or floating) derivation output, for the other two, it is specifying that for the store path the builtin creates directly. -
With lazy trees,
builtins.fetchTree
may not longer create a path. Perhaps paths created from it still turn into store objects, and it would affect those. Or maybe it's just better to separate concerns and not have this argument onbuiltins.fetchTree
after all.