Merge pull request #90150 from 7c6f434c/wine-staging-desc

winePackages.staging: mention staging patches in description
This commit is contained in:
Michael Raskin 2020-06-11 18:17:28 +00:00 committed by GitHub
commit 5528185628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ let patch = (callPackage ./sources.nix {}).staging;
(mkBuildInputs wineUnstable.pkgArches pkgNames) ++ extra;
in assert stdenv.lib.getVersion wineUnstable == patch.version;
stdenv.lib.overrideDerivation wineUnstable (self: {
(stdenv.lib.overrideDerivation wineUnstable (self: {
buildInputs = build-inputs [ "perl" "utillinux" "autoconf" ] self.buildInputs;
name = "${self.name}-staging";
@ -21,4 +21,8 @@ stdenv.lib.overrideDerivation wineUnstable (self: {
./patchinstall.sh DESTDIR="$PWD/.." --all
cd ..
'';
})
})) // {
meta = wineUnstable.meta // {
description = wineUnstable.meta.description + " (with staging patches)";
};
}