Merge #18280: pygtk: fix broken symlink
This commit is contained in:
commit
88ad6593ea
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, python, mkPythonDerivation, pkgconfig, glib }:
|
{ stdenv, fetchurl, python, mkPythonDerivation, pkgconfig, glib }:
|
||||||
|
|
||||||
mkPythonDerivation rec {
|
mkPythonDerivation rec {
|
||||||
name = "pygobject-2.28.6";
|
name = "pygobject-${version}";
|
||||||
|
version = "2.28.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pygobject/2.28/${name}.tar.xz";
|
url = "mirror://gnome/sources/pygobject/2.28/${name}.tar.xz";
|
||||||
|
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm $out/bin/pygtk-codegen-2.0
|
rm $out/bin/pygtk-codegen-2.0
|
||||||
ln -s ${pygobject}/bin/pygobject-codegen-2.0 $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
|
$out/lib/${python.libPrefix}/site-packages/${name}.pth
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user