Merge pull request #215168 from hercules-ci/inputDerivation-disallowedReferences

make-derivation.nix: Support `inputDerivation` on `disallowedReferences`
This commit is contained in:
Robert Hensing 2023-02-13 11:49:56 +01:00 committed by GitHub
commit c61dd3fe95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;