Skip to content

Commit

Permalink
wine: use gcc13 for stdenv_32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Jan 7, 2025
1 parent c94feb6 commit 3d29fbf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
wineBuilder = wine: build: extra:
(import ./wine ({
inherit inputs self pkgs build pins;
inherit (pkgs) callPackage fetchFromGitHub fetchurl lib moltenvk pkgsCross pkgsi686Linux stdenv_32bit;
inherit (pkgs) callPackage fetchFromGitHub fetchurl lib moltenvk pkgsCross pkgsi686Linux stdenv_32bit stdenv wrapCCMulti overrideCC gcc13;
supportFlags = (import ./wine/supportFlags.nix).${build};
}
// extra))
Expand Down
7 changes: 5 additions & 2 deletions pkgs/wine/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
moltenvk,
supportFlags,
stdenv_32bit,
overrideCC,
wrapCCMulti,
gcc13,
stdenv,
}: let
nixpkgs-wine = builtins.path {
path = inputs.nixpkgs;
Expand All @@ -37,8 +41,7 @@
monos = with sources; [mono];
pkgArches = [pkgs pkgsi686Linux];
platforms = ["x86_64-linux"];
# stdenv = pkgs.overrideCC stdenv_32bit pkgs.gcc13;
stdenv = stdenv_32bit;
stdenv = overrideCC stdenv (wrapCCMulti gcc13);
wineRelease = "unstable";
};

Expand Down

0 comments on commit 3d29fbf

Please sign in to comment.