pkgs/development/python-modules: stdenv.lib -> lib

This commit is contained in:
Pavol Rusnak
2021-01-24 01:29:22 +01:00
parent 2f34b4b883
commit a4bbfba80d
211 changed files with 525 additions and 546 deletions

View File

@@ -30,7 +30,7 @@ in buildPythonPackage rec {
disabled = isPyPy;
doCheck = false; # doesn't find needed test data files
preBuild = let
pythonVersion = with stdenv.lib.versions; "${major python.version}${minor python.version}";
pythonVersion = with lib.versions; "${major python.version}${minor python.version}";
in ''
export BOOST_PYTHON_LIB="boost_python${pythonVersion}"
export BOOST_THREAD_LIB="boost_thread"