File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
pkgs/by-name/fa/fastnlo-toolkit Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 33 stdenv ,
44 fetchurl ,
55 boost ,
6- gfortran ,
76 lhapdf ,
87 ncurses ,
98 perl ,
@@ -35,23 +34,26 @@ stdenv.mkDerivation rec {
3534 ./yoda2_support.patch
3635 ] ;
3736
37+ nativeBuildInputs = [
38+ lhapdf # lhapdf-config
39+ yoda # yoda-config
40+ ] ++ lib . optional withPython python ;
41+
3842 buildInputs =
3943 [
4044 boost
41- gfortran
42- gfortran . cc . lib
4345 lhapdf
4446 yoda
4547 ]
4648 ++ lib . optional withPython python
4749 ++ lib . optional ( withPython && python . isPy3k ) ncurses ;
4850
51+ propagatedNativeBuildInputs = lib . optional withPython [ swig ] ;
4952 propagatedBuildInputs =
5053 [
5154 zlib
5255 ]
5356 ++ lib . optional withPython [
54- swig
5557 python . pkgs . distutils
5658 ] ;
5759
@@ -68,6 +70,8 @@ stdenv.mkDerivation rec {
6870 "--with-yoda=${ yoda } "
6971 ] ++ lib . optional withPython "--enable-pyext" ;
7072
73+ strictDeps = true ;
74+
7175 enableParallelBuilding = true ;
7276
7377 doCheck = true ;
You can’t perform that action at this time.
0 commit comments