treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages}

which should be always preferred
This commit is contained in:
Sandro Jäckel
2024-01-30 19:56:57 +01:00
parent 30b34ac007
commit 653837881e
41 changed files with 62 additions and 62 deletions
@@ -64,8 +64,8 @@ buildPythonPackage rec {
postInstall = ''
rm $out/bin/pygtk-codegen-2.0
ln -s ${pygobject2}/bin/pygobject-codegen-2.0 $out/bin/pygtk-codegen-2.0
ln -s ${pygobject2}/lib/${python.libPrefix}/site-packages/pygobject-${pygobject2.version}.pth \
$out/lib/${python.libPrefix}/site-packages/${pname}-${version}.pth
ln -s ${pygobject2}/${python.sitePackages}/pygobject-${pygobject2.version}.pth \
$out/${python.sitePackages}/${pname}-${version}.pth
'';
meta = with lib; {