apfel: fix build

Was failing on Hydra with:
ld: cannot find -lz
This commit is contained in:
Renaud 2019-11-16 18:40:10 +01:00 committed by GitHub
parent 908f6240d8
commit af6ffdaacb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gfortran, lhapdf, python2 }:
{ stdenv, fetchFromGitHub, gfortran, lhapdf, python2, zlib }:
stdenv.mkDerivation rec {
pname = "apfel";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "13n5ygbqvskg3qq5n4sff1nbii0li0zf1vqissai7x0hynxgy7p6";
};
buildInputs = [ gfortran lhapdf python2 ];
buildInputs = [ gfortran lhapdf python2 zlib ];
enableParallelBuilding = true;