on iko/ghcjs-patch-master help sign in
Repin wine to 3.21 as file access from TH breaks otherwise (#1508)
d71e854Hamish Mackenzie
overlays/default.nix+2
@@ -2,6 +2,7 @@
2
2
3let
3let
4 overlays = {
4 overlays = {
5+ wine = import ./wine.nix;
5 #ghcjs = import ./ghcjs-asterius-triple.nix;
6 #ghcjs = import ./ghcjs-asterius-triple.nix;
6 #python = import ./python.nix;
7 #python = import ./python.nix;
7 haskell = import ./haskell.nix args;
8 haskell = import ./haskell.nix args;
@@ -38,6 +39,7 @@ let
38 haskellPackages = { };
39 haskellPackages = { };
39 haskell-nix-prev = prev;
40 haskell-nix-prev = prev;
40 })
41 })
42+ wine
41 haskell
43 haskell
42 hackage-quirks
44 hackage-quirks
43 bootstrap
45 bootstrap
overlays/wine.nixnew file+16
@@ -0,0 +1,16 @@
1+# fix wine at 3.0.2; the 4.x branch breaks windows cross compilation.
2+# this will inevitably replace *any* wine version. Thus this might not
3+# really be what we ultimately want.
4+final: prev:
5+{
6+ winePackages = prev.winePackages // {
7+ minimal = prev.winePackages.minimal.overrideAttrs (oldAttrs: {
8+ name = "wine-3.21";
9+ version = "3.21";
10+ src = prev.fetchurl {
11+ url = "https://dl.winehq.org/wine/source/3.x/wine-3.21.tar.xz";
12+ sha256 = "1h70wb7kysbzv36i3fblyiihvalwhy6sj4s2a8nf21nz2mhc0k58"; };
13+ patches = [];
14+ });
15+ };
16+}