From 363053f4473d5985fa92113deb363b452b825979 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Thu, 19 Dec 2024 08:46:54 +0100 Subject: [PATCH] fastnlo-toolkit: fix and enable strictDeps Also remove the currently unused gfortran inputs. --- pkgs/by-name/fa/fastnlo-toolkit/package.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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;