treewide: remove lintl references

libintl should be used directly, not through NIX_LDFLAGS.
This commit is contained in:
Matthew Bauer
2018-05-16 01:02:31 -05:00
parent 8419c347ca
commit c605d171bb
5 changed files with 8 additions and 17 deletions
@@ -21,10 +21,10 @@ in stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig intltool gettext perl gobjectIntrospection vala_0_40 ]
nativeBuildInputs = [ pkgconfig intltool perl gobjectIntrospection vala_0_40 ]
++ stdenv.lib.optionals doCheck checkInputs;
buildInputs = [ atk cairo glib pango libxml2 ];
buildInputs = [ atk cairo glib pango libxml2 gettext ];
preBuild = ''
substituteInPlace gtksourceview/gtksourceview-utils.c --replace "@NIX_SHARE_PATH@" "$out/share"
@@ -32,8 +32,6 @@ in stdenv.mkDerivation rec {
patches = [ ./3.x-nix_share_path.patch ];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
enableParallelBuilding = true;
doCheck = stdenv.isLinux;