stdenv setup: Always use both propagated files
This continues #23374, which always kept around both attributes, by always including both propagated files: `propgated-native-build-inputs` and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still defined as before, however, so this change should only barely observable. This is an incremental step to fully keeping the dependencies separate in all cases.
This commit is contained in:
@@ -83,7 +83,7 @@ wrapPythonProgramsIn() {
|
||||
|
||||
# Adds the lib and bin directories to the PYTHONPATH and PATH variables,
|
||||
# respectively. Recurses on any paths declared in
|
||||
# `propagated-native-build-inputs`, while avoiding duplicating paths by
|
||||
# `propagated-build-inputs`, while avoiding duplicating paths by
|
||||
# flagging the directories it has visited in `pythonPathsSeen`.
|
||||
_addToPythonPath() {
|
||||
local dir="$1"
|
||||
@@ -96,7 +96,7 @@ _addToPythonPath() {
|
||||
addToSearchPath program_PATH $dir/bin
|
||||
|
||||
# Inspect the propagated inputs (if they exist) and recur on them.
|
||||
local prop="$dir/nix-support/propagated-native-build-inputs"
|
||||
local prop="$dir/nix-support/propagated-build-inputs"
|
||||
if [ -e $prop ]; then
|
||||
local new_path
|
||||
for new_path in $(cat $prop); do
|
||||
|
||||
Reference in New Issue
Block a user