lol

podofo: unsimplify derivation a bit to avoid hash breakage

authored by

Ross MacLeod and committed by
John Ericson
d0166376 29c4d7f5

+5 -2
+5 -2
pkgs/development/libraries/podofo/default.nix
··· 1 1 { stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig 2 2 , openssl, libpng, lua5, pkgconfig, libidn, expat 3 + , gcc5 # TODO(@Dridus) remove this at next hash break 3 4 }: 4 5 5 6 stdenv.mkDerivation rec { ··· 12 13 13 14 propagatedBuildInputs = [ zlib freetype libjpeg libtiff fontconfig openssl libpng libidn expat ]; 14 15 15 - nativeBuildInputs = [ cmake pkgconfig ]; 16 + # TODO(@Dridus) remove the ++ ghc5 at next hash break 17 + nativeBuildInputs = [ cmake pkgconfig ] ++ stdenv.lib.optional stdenv.isLinux gcc5; 16 18 17 - buildInputs = [ lua5 ]; 19 + # TODO(@Dridus) remove the ++ libc at next hash break 20 + buildInputs = [ lua5 ] ++ stdenv.lib.optional stdenv.isLinux stdenv.cc.libc; 18 21 19 22 cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF"; 20 23