make-derivation.nix: Support inputDerivation on disallowedReferences

This commit is contained in:
Robert Hensing 2023-02-07 18:57:23 +01:00
parent 12053de9e5
commit 059bd43546

View file

@ -528,6 +528,12 @@ lib.extendDerivation
# them as runtime dependencies (since Nix greps for store paths
# through $out to find them)
args = [ "-c" "export > $out" ];
# inputDerivation produces the inputs; not the outputs, so any
# restrictions on what used to be the outputs don't serve a purpose
# anymore.
disallowedReferences = [ ];
disallowedRequisites = [ ];
});
inherit meta passthru overrideAttrs;