Merge remote-tracking branch 'master' into stdenv-updates.
Conflicts: pkgs/applications/version-management/git-and-tools/git/default.nix pkgs/top-level/all-packages.nix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconvOrEmpty, zlib, libffi
|
||||
, python, pcre, libelf }:
|
||||
, python, pcre, libelf, libintlOrEmpty }:
|
||||
|
||||
# TODO:
|
||||
# * Add gio-module-fam
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
# configure script looks for d-bus but it is only needed for tests
|
||||
buildInputs = [ libelf ];
|
||||
buildInputs = [ libelf ] ++ libintlOrEmpty;
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig gettext python ];
|
||||
|
||||
@@ -45,6 +45,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postConfigure = "sed '/SANE_MALLOC_PROTOS/s,^,//,' -i config.h";
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''rm -rvf $out/share/gtk-doc'';
|
||||
|
||||
Reference in New Issue
Block a user