pinning wine version
This commit is contained in:
parent
1ae2675966
commit
e467153ddc
1 changed files with 27 additions and 1 deletions
|
|
@ -1,6 +1,32 @@
|
||||||
self: super: {
|
self: super:
|
||||||
|
let
|
||||||
|
wine = super.fetchFromGitHub rec {
|
||||||
|
owner = "wine-mirror";
|
||||||
|
repo = "wine";
|
||||||
|
rev = "1de583a4dac7d704b2d4291ada4a1885cd8cd1c9";
|
||||||
|
sha256 = "02v725qjsibiv6ad6hxsc6199dvlmnp7983286a4k8rygqnvqln9";
|
||||||
|
};
|
||||||
|
|
||||||
|
staging = super.fetchFromGitHub rec {
|
||||||
|
owner = "wine-staging";
|
||||||
|
repo = "wine-staging";
|
||||||
|
rev = "432c0b5a838cb8ebb52d0d37150a57e393b6f33d";
|
||||||
|
sha256 = "0gbci8fjvl1bdz7fj4bh25mqrgi1i04q5na2ckv9hj9nh9x7crbm";
|
||||||
|
};
|
||||||
|
in {
|
||||||
wine-osu = (super.wineStaging.overrideDerivation(o: {
|
wine-osu = (super.wineStaging.overrideDerivation(o: {
|
||||||
patches = (o.patches or []) ++ builtins.map (e: ./misc/wine + ("/" + e)) (builtins.attrNames (builtins.readDir ./misc/wine));
|
patches = (o.patches or []) ++ builtins.map (e: ./misc/wine + ("/" + e)) (builtins.attrNames (builtins.readDir ./misc/wine));
|
||||||
|
|
||||||
|
src = wine;
|
||||||
|
postPatch = self.postPatch or "" + ''
|
||||||
|
patchShebangs tools
|
||||||
|
cp -r ${staging}/patches .
|
||||||
|
chmod +w patches
|
||||||
|
cd patches
|
||||||
|
patchShebangs gitapply.sh
|
||||||
|
./patchinstall.sh DESTDIR="$PWD/.." --all
|
||||||
|
cd ..
|
||||||
|
'';
|
||||||
})).override {
|
})).override {
|
||||||
wineRelease = "staging";
|
wineRelease = "staging";
|
||||||
wineBuild = "wineWow";
|
wineBuild = "wineWow";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue