9b090ccbca
That is because this commit should be merged to both master and release-19.09.
25 lines
716 B
Nix
25 lines
716 B
Nix
{ stdenv, callPackage, wineUnstable, libtxc_dxtn_Name }:
|
|
|
|
with callPackage ./util.nix {};
|
|
|
|
let patch = (callPackage ./sources.nix {}).staging;
|
|
build-inputs = pkgNames: extra:
|
|
(mkBuildInputs wineUnstable.pkgArches pkgNames) ++ extra;
|
|
in assert stdenv.lib.getVersion wineUnstable == patch.version;
|
|
|
|
stdenv.lib.overrideDerivation wineUnstable (self: {
|
|
buildInputs = build-inputs [ "perl" "utillinux" "autoconf" libtxc_dxtn_Name ] self.buildInputs;
|
|
|
|
name = "${self.name}-staging";
|
|
|
|
postPatch = self.postPatch or "" + ''
|
|
patchShebangs tools
|
|
cp -r ${patch}/patches .
|
|
chmod +w patches
|
|
cd patches
|
|
patchShebangs gitapply.sh
|
|
./patchinstall.sh DESTDIR="$PWD/.." --all
|
|
cd ..
|
|
'';
|
|
})
|