diff --git a/pkgs/by-name/fa/fastnlo-toolkit/package.nix b/pkgs/by-name/fa/fastnlo-toolkit/package.nix index d43cc2698c1bbc..63b47284169d06 100644 --- a/pkgs/by-name/fa/fastnlo-toolkit/package.nix +++ b/pkgs/by-name/fa/fastnlo-toolkit/package.nix @@ -3,7 +3,6 @@ stdenv, fetchurl, boost, - gfortran, lhapdf, ncurses, perl, @@ -35,11 +34,14 @@ stdenv.mkDerivation rec { ./yoda2_support.patch ]; + nativeBuildInputs = [ + lhapdf # lhapdf-config + yoda # yoda-config + ]; + buildInputs = [ boost - gfortran - gfortran.cc.lib lhapdf yoda ] @@ -68,6 +70,8 @@ stdenv.mkDerivation rec { "--with-yoda=${yoda}" ] ++ lib.optional withPython "--enable-pyext"; + strictDeps = true; + enableParallelBuilding = true; doCheck = true;