@@ -1,5 +1,6 @@
11{ stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig
22, openssl, libpng, lua5, pkgconfig, libidn, expat
3+, gcc5 # TODO(@Dridus) remove this at next hash break
34}:
45
56stdenv.mkDerivation rec {
@@ -12,9 +13,11 @@ stdenv.mkDerivation rec {
1213
1314 propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng libidn expat ];
1415
15− nativeBuildInputs = [ cmake pkgconfig ];
16+ # TODO(@Dridus) remove the ++ ghc5 at next hash break
17+ nativeBuildInputs = [ cmake pkgconfig ] ++ stdenv.lib.optional stdenv.isLinux gcc5;
1618
17− buildInputs = [ lua5 ];
19+ # TODO(@Dridus) remove the ++ libc at next hash break
20+ buildInputs = [ lua5 ] ++ stdenv.lib.optional stdenv.isLinux stdenv.cc.libc;
1821
1922 cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF";
2023