1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

wineStaging: allow to blacklist patchsets from staging

Due repeatable issues with xactengine-initial patchset.
Later, `disablePatchsets` can be extended to be overridable argument
of wineStaging.
This commit is contained in:
Alexander V. Nikolaev 2020-07-04 23:25:41 +03:00
parent e79e7e17e9
commit ec7b6af024
2 changed files with 4 additions and 1 deletions

View file

@ -52,6 +52,9 @@ in rec {
owner = "wine-staging";
repo = "wine-staging";
rev = "v${version}";
# Just keep list empty, if current release haven't broken patchsets
disabledPatchsets = [ "xactengine-initial" ];
};
winetricks = fetchFromGitHub rec {

View file

@ -18,7 +18,7 @@ in assert stdenv.lib.getVersion wineUnstable == patch.version;
chmod +w patches
cd patches
patchShebangs gitapply.sh
./patchinstall.sh DESTDIR="$PWD/.." --all
./patchinstall.sh DESTDIR="$PWD/.." --all ${stdenv.lib.concatMapStringsSep " " (ps: "-W ${ps}") patch.disabledPatchsets}
cd ..
'';
})) // {