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 bison, 14 flex, 15 fontforge, 16 makeWrapper, 17 pkg-config, 18 nixosTests, ··· 92 # Fixes "Compiler cannot create executables" building wineWow with mingwSupport 93 strictDeps = true; 94 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 - ); 105 106 buildInputs = toBuildInputs pkgArches ( 107 with supportFlags; ··· 115 ++ lib.optional stdenv.hostPlatform.isLinux pkgs.libcap 116 ++ lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue 117 ++ lib.optional cupsSupport pkgs.cups 118 - ++ lib.optional gettextSupport pkgs.gettext 119 ++ lib.optional dbusSupport pkgs.dbus 120 ++ lib.optional cairoSupport pkgs.cairo 121 ++ lib.optional odbcSupport pkgs.unixODBC
··· 13 bison, 14 flex, 15 fontforge, 16 + gettext, 17 makeWrapper, 18 pkg-config, 19 nixosTests, ··· 93 # Fixes "Compiler cannot create executables" building wineWow with mingwSupport 94 strictDeps = true; 95 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 + ); 109 110 buildInputs = toBuildInputs pkgArches ( 111 with supportFlags; ··· 119 ++ lib.optional stdenv.hostPlatform.isLinux pkgs.libcap 120 ++ lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue 121 ++ lib.optional cupsSupport pkgs.cups 122 ++ lib.optional dbusSupport pkgs.dbus 123 ++ lib.optional cairoSupport pkgs.cairo 124 ++ lib.optional odbcSupport pkgs.unixODBC