haskell.nix/overlays/wine.nix
Hamish Mackenzie a2d97bd9ad
Flake (#589 and #567)
Allows haskell.nix to be used as a nix flake.

Authored-by: Alexander Bantyev <balsoft@balsoft.ru>
2020-05-07 11:16:38 +12:00

16 lines
587 B
Nix

# fix wine at 3.0.2; the 4.x branch breaks windows cross compilation.
# this will inevitably replace *any* wine version. Thus this might not
# really be what we ultimately want.
final: prev:
{
winePackages = prev.winePackages // {
minimal = prev.winePackages.minimal.overrideAttrs (oldAttrs: {
name = "wine-3.21";
version = "3.21";
src = prev.fetchurl {
url = "https://dl.winehq.org/wine/source/3.x/wine-3.21.tar.xz";
sha256 = "1h70wb7kysbzv36i3fblyiihvalwhy6sj4s2a8nf21nz2mhc0k58"; };
});
};
}