giac: fix build

giac was broken somewhere between 310ad4 and b33b4a, see
https://hydra.nixos.org/build/67137469
libgfortran.so.3 was not found
This commit is contained in:
Symphorien Gibol 2018-01-10 17:49:06 +01:00
parent f607771d0f
commit bf49c616ee

View File

@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
# perl is only needed for patchShebangs fixup.
buildInputs = [
gmp mpfr pari ntl gsl blas mpfi liblapackWithAtlas
readline gettext libpng libao gfortran perl
readline gettext libpng libao perl
# gfortran.cc default output contains static libraries compiled without -fPIC
# we want libgfortran.so.3 instead
(stdenv.lib.getLib gfortran.cc)
] ++ stdenv.lib.optionals enableGUI [
mesa fltk xorg.libX11
];