Merge pull request #31775 from obsidiansystems/stdenv-both-propagated-files
stdenv setup: Always use both propagated files
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