Skip to content

Commit

Permalink
fastnlo-toolkit: fix and enable strictDeps
Browse files Browse the repository at this point in the history
Also remove the currently unused gfortran inputs.

Co-Authored-By: veprbl <[email protected]>
  • Loading branch information
FliegendeWurst and hep-mirrors-bot committed Dec 20, 2024
1 parent 0852807 commit 5b93a4e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/by-name/fa/fastnlo-toolkit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stdenv,
fetchurl,
boost,
gfortran,
lhapdf,
ncurses,
perl,
Expand Down Expand Up @@ -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
];

Expand All @@ -68,6 +70,8 @@ stdenv.mkDerivation rec {
"--with-yoda=${yoda}"
] ++ lib.optional withPython "--enable-pyext";

strictDeps = true;

enableParallelBuilding = true;

doCheck = true;
Expand Down

0 comments on commit 5b93a4e

Please sign in to comment.