pkgs/development/python-modules: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, py
|
||||
@@ -17,7 +18,7 @@ buildPythonPackage {
|
||||
# Move the tkinter module
|
||||
mkdir -p $out/${py.sitePackages}
|
||||
mv lib/${py.libPrefix}/lib-dynload/_tkinter* $out/${py.sitePackages}/
|
||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
'' + lib.optionalString (!stdenv.isDarwin) ''
|
||||
# Update the rpath to point to python without x11Support
|
||||
old_rpath=$(patchelf --print-rpath $out/${py.sitePackages}/_tkinter*)
|
||||
new_rpath=$(sed "s#${py}#${python}#g" <<< "$old_rpath" )
|
||||
|
||||
Reference in New Issue
Block a user