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-09 13:13:06 +03:00
parent e79e7e17e9
commit ec7b6af024
2 changed files with 4 additions and 1 deletions
+3
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 {
+1 -1
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 ..
'';
})) // {