don't put propagated recursivePthLoader into pth file, #257
This commit is contained in:
parent
a7a6173a3f
commit
24d48d9170
@ -51,6 +51,9 @@ createBuildInputsPth() {
|
|||||||
local inputs="$2"
|
local inputs="$2"
|
||||||
if [ foo"$inputs" != foo ]; then
|
if [ foo"$inputs" != foo ]; then
|
||||||
for x in $inputs; do
|
for x in $inputs; do
|
||||||
|
if $(echo -n $x |grep -q python-recursive-pth-loader); then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
if test -d "$x"/lib/@libPrefix@/site-packages; then
|
if test -d "$x"/lib/@libPrefix@/site-packages; then
|
||||||
echo $x/lib/@libPrefix@/site-packages \
|
echo $x/lib/@libPrefix@/site-packages \
|
||||||
>> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth
|
>> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth
|
||||||
|
Loading…
Reference in New Issue
Block a user