treewide: remove lintl references
libintl should be used directly, not through NIX_LDFLAGS.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user