Merge pull request #126044 from veprbl/pr/lhapdf_python3
lhapdf: allow using different python versions, default to python3
This commit is contained in:
commit
ce3f3e6e64
3 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, python2, makeWrapper }:
|
||||
{ lib, stdenv, fetchurl, python, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lhapdf";
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ python2 ];
|
||||
buildInputs = [ python ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -30211,7 +30211,9 @@ in
|
|||
|
||||
herwig = callPackage ../development/libraries/physics/herwig { };
|
||||
|
||||
lhapdf = callPackage ../development/libraries/physics/lhapdf { };
|
||||
lhapdf = callPackage ../development/libraries/physics/lhapdf {
|
||||
python = python3;
|
||||
};
|
||||
|
||||
mela = callPackage ../development/libraries/physics/mela { };
|
||||
|
||||
|
|
|
@ -3840,6 +3840,10 @@ in {
|
|||
|
||||
lexid = callPackage ../development/python-modules/lexid { };
|
||||
|
||||
lhapdf = toPythonModule (pkgs.lhapdf.override {
|
||||
inherit python;
|
||||
});
|
||||
|
||||
libagent = callPackage ../development/python-modules/libagent { };
|
||||
|
||||
pa-ringbuffer = callPackage ../development/python-modules/pa-ringbuffer { };
|
||||
|
|
Loading…
Reference in a new issue