make-derivation: don’t disallow propagated native inputs
propagateNativeBuildInputs will end up going in the output derivation. This case is allowed to end up in references because of that. Sorry for the disruption! Fixes #50865
This commit is contained in:
parent
3d6f6e3e7f
commit
fc99c337ed
|
@ -238,12 +238,12 @@ rec {
|
|||
# propagated dependencies here as well.
|
||||
disallowedReferences = (attrs.disallowedReferences or [])
|
||||
++ (lib.subtractLists
|
||||
(lib.concatLists ( (lib.elemAt propagatedDependencies 1) ++
|
||||
(lib.concatLists ((lib.elemAt propagatedDependencies 0) ++
|
||||
(lib.elemAt propagatedDependencies 1) ++
|
||||
(lib.elemAt dependencies 1) ++
|
||||
(lib.elemAt propagatedDependencies 2) ++
|
||||
(lib.elemAt dependencies 2) ) )
|
||||
(lib.concatLists ( (lib.elemAt propagatedDependencies 0) ++
|
||||
(lib.elemAt dependencies 0) ) ) );
|
||||
(lib.concatLists ((lib.elemAt dependencies 0)) ) );
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) {
|
||||
cmakeFlags =
|
||||
(/**/ if lib.isString cmakeFlags then [cmakeFlags]
|
||||
|
|
Loading…
Reference in a new issue