fix pth files

This commit is contained in:
Florian Friesdorf 2012-07-22 02:07:23 +02:00
parent a40da09b44
commit f8d3671629

View file

@ -52,7 +52,8 @@ createBuildInputsPth() {
if [ foo"$inputs" != foo ]; then
for x in $inputs; do
if test -d "$x"/lib/@libPrefix@/site-packages; then
echo $x >> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth
echo $x/lib/@libPrefix@/site-packages \
>> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth
fi
done
fi