diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-01-03 10:05:50 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-01-04 10:45:22 +0100 |
commit | 0a2caa41fe0da9e5c36f47994594650f00e1d111 (patch) | |
tree | e7b9a6f88de8a8c3ee71ed65b2d9257836f9a3a0 /pkgs/development/libraries/physics | |
parent | f665828fa374580f4b2fd725761d23e18f55e526 (diff) | |
download | nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.tar nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.tar.gz nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.tar.bz2 nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.tar.lz nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.tar.xz nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.tar.zst nixpkgs-0a2caa41fe0da9e5c36f47994594650f00e1d111.zip |
Python: drop `python.majorVersion`
Drop `python.majorVersion`. For Python language version, use `python.pythonVersion`. For implementation version, use `python.sourceVersion`. Some expressions were broken. Those that were identified were fixed. fixup major
Diffstat (limited to 'pkgs/development/libraries/physics')
-rw-r--r-- | pkgs/development/libraries/physics/geant4/g4py/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/physics/geant4/g4py/default.nix b/pkgs/development/libraries/physics/geant4/g4py/default.nix index 551d61af3ad..f28f0fd6420 100644 --- a/pkgs/development/libraries/physics/geant4/g4py/default.nix +++ b/pkgs/development/libraries/physics/geant4/g4py/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { preConfigure = '' # Fix for boost 1.67+ substituteInPlace CMakeLists.txt \ - --replace "find_package(Boost)" "find_package(Boost 1.40 REQUIRED COMPONENTS python${builtins.replaceStrings ["."] [""] python.majorVersion})" + --replace "find_package(Boost)" "find_package(Boost 1.40 REQUIRED COMPONENTS python${builtins.replaceStrings ["."] [""] python.pythonVersion})" for f in `find . -name CMakeLists.txt`; do substituteInPlace "$f" \ --replace "boost_python" "\''${Boost_LIBRARIES}" |