kicad: remove gettext from buildInputs, add to nativeBuildInputs

The i18n "library" does not link against gettext. It only requires the
msgfmt utility from gettext, hence gettext should be a nativeBuildInput
This commit is contained in:
Hannes Weisbach 2020-09-16 17:12:11 +02:00 committed by Bjørn Forsman
parent 9a886d4773
commit 9c73e34d18

View File

@ -62,8 +62,7 @@ in
inherit name; inherit name;
} // (libSources.${name} or { }) } // (libSources.${name} or { })
); );
buildInputs = [ gettext ]; nativeBuildInputs = [ cmake gettext ];
nativeBuildInputs = [ cmake ];
meta = { meta = {
license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3 license = licenses.gpl2; # https://github.com/KiCad/kicad-i18n/issues/3
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;