Unverified Commit 66db1de6 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wine: move gettext to nativeBuildInputs (#428239)

parents 71e749fe 0671ce3e
Loading
Loading
Loading
Loading
+14 −11
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
  bison,
  flex,
  fontforge,
  gettext,
  makeWrapper,
  pkg-config,
  nixosTests,
@@ -92,14 +93,17 @@ stdenv.mkDerivation (
    # Fixes "Compiler cannot create executables" building wineWow with mingwSupport
    strictDeps = true;

    nativeBuildInputs = [
    nativeBuildInputs =
      with supportFlags;
      [
        bison
        flex
        fontforge
        makeWrapper
        pkg-config
      ]
    ++ lib.optionals supportFlags.mingwSupport (
      ++ lib.optional gettextSupport gettext
      ++ lib.optionals mingwSupport (
        mingwGccs ++ lib.optional stdenv.hostPlatform.isDarwin setupHookDarwin
      );

@@ -115,7 +119,6 @@ stdenv.mkDerivation (
        ++ lib.optional stdenv.hostPlatform.isLinux pkgs.libcap
        ++ lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue
        ++ lib.optional cupsSupport pkgs.cups
        ++ lib.optional gettextSupport pkgs.gettext
        ++ lib.optional dbusSupport pkgs.dbus
        ++ lib.optional cairoSupport pkgs.cairo
        ++ lib.optional odbcSupport pkgs.unixODBC