pygtk: fix broken symlink

${pygobject.name} now contains a python2- prefix resulting
in a broken symlink. this breaks pygtk and every depending application
This commit is contained in:
Jörg Thalheim
2016-09-04 09:39:17 +02:00
parent 8d977ead38
commit 3ab7bfeb30
2 changed files with 4 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ buildPythonPackage rec {
postInstall = ''
rm $out/bin/pygtk-codegen-2.0
ln -s ${pygobject}/bin/pygobject-codegen-2.0 $out/bin/pygtk-codegen-2.0
ln -s ${pygobject}/lib/${python.libPrefix}/site-packages/${pygobject.name}.pth \
ln -s ${pygobject}/lib/${python.libPrefix}/site-packages/pygobject-${pygobject.version}.pth \
$out/lib/${python.libPrefix}/site-packages/${name}.pth
'';
}