fastnlo-toolkit: fix and enable strictDeps

Also remove the currently unused gfortran inputs.

Co-Authored-By: veprbl <veprbl@gmail.com>
This commit is contained in:
FliegendeWurst
2024-12-20 08:02:34 +01:00
committed by FliegendeWurst
co-authored by veprbl
parent 0852807b55
commit 5b93a4e375
+8 -4
View File
@@ -3,7 +3,6 @@
stdenv,
fetchurl,
boost,
gfortran,
lhapdf,
ncurses,
perl,
@@ -35,23 +34,26 @@ stdenv.mkDerivation rec {
./yoda2_support.patch
];
nativeBuildInputs = [
lhapdf # lhapdf-config
yoda # yoda-config
] ++ lib.optional withPython python;
buildInputs =
[
boost
gfortran
gfortran.cc.lib
lhapdf
yoda
]
++ lib.optional withPython python
++ lib.optional (withPython && python.isPy3k) ncurses;
propagatedNativeBuildInputs = lib.optional withPython [ swig ];
propagatedBuildInputs =
[
zlib
]
++ lib.optional withPython [
swig
python.pkgs.distutils
];
@@ -68,6 +70,8 @@ stdenv.mkDerivation rec {
"--with-yoda=${yoda}"
] ++ lib.optional withPython "--enable-pyext";
strictDeps = true;
enableParallelBuilding = true;
doCheck = true;