git.iko.soy/typeable/nixpkgs
on master help sign in
podofo: unsimplify derivation a bit to avoid hash breakage
commitd016637629e16548a98c9c570136d8ba60e8c9cd authorRoss MacLeod <rmm-github@z.odi.ac> dateMon 12 Jun 2017, 00:29 (9 years ago) parent29c4d7f
1 file changed+5−2
pkgs/development/libraries/podofo/default.nix+5−2
pkgs/development/libraries/podofo/default.nix+5−2
@@ -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