about summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-02-13 12:02:05 +0000
committerGitHub <noreply@github.com>2023-02-13 12:02:05 +0000
commit29c2637dda61955396739885e1b6d850b731bcd6 (patch)
tree6b63d833cc7bffc8434e9ac2e5539b3a1207fbfc /pkgs/stdenv
parent410d64db35fe9e45f7d6a684fc368554761f6331 (diff)
parentfd8daee7c2ac1f019563923e2b61431644301083 (diff)
downloadnixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.gz
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.bz2
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.lz
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.xz
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.tar.zst
nixlib-29c2637dda61955396739885e1b6d850b731bcd6.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/make-derivation.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix
index c18e70212f98..6bf319d07308 100644
--- a/pkgs/stdenv/generic/make-derivation.nix
+++ b/pkgs/stdenv/generic/make-derivation.nix
@@ -570,6 +570,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;