wine: move gettext to nativeBuildInputs (#428239)

authored by Aleksana and committed by GitHub 66db1de6 71e749fe

+14 -11
+14 -11
pkgs/applications/emulators/wine/base.nix
··· 13 13 bison, 14 14 flex, 15 15 fontforge, 16 + gettext, 16 17 makeWrapper, 17 18 pkg-config, 18 19 nixosTests, ··· 92 93 # Fixes "Compiler cannot create executables" building wineWow with mingwSupport 93 94 strictDeps = true; 94 95 95 - nativeBuildInputs = [ 96 - bison 97 - flex 98 - fontforge 99 - makeWrapper 100 - pkg-config 101 - ] 102 - ++ lib.optionals supportFlags.mingwSupport ( 103 - mingwGccs ++ lib.optional stdenv.hostPlatform.isDarwin setupHookDarwin 104 - ); 96 + nativeBuildInputs = 97 + with supportFlags; 98 + [ 99 + bison 100 + flex 101 + fontforge 102 + makeWrapper 103 + pkg-config 104 + ] 105 + ++ lib.optional gettextSupport gettext 106 + ++ lib.optionals mingwSupport ( 107 + mingwGccs ++ lib.optional stdenv.hostPlatform.isDarwin setupHookDarwin 108 + ); 105 109 106 110 buildInputs = toBuildInputs pkgArches ( 107 111 with supportFlags; ··· 115 119 ++ lib.optional stdenv.hostPlatform.isLinux pkgs.libcap 116 120 ++ lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue 117 121 ++ lib.optional cupsSupport pkgs.cups 118 - ++ lib.optional gettextSupport pkgs.gettext 119 122 ++ lib.optional dbusSupport pkgs.dbus 120 123 ++ lib.optional cairoSupport pkgs.cairo 121 124 ++ lib.optional odbcSupport pkgs.unixODBC