winePackages.staging: mention staging patches in description

This commit is contained in:
Michael Raskin 2020-06-11 20:06:07 +02:00
parent 45f21f7c84
commit 21c3245b67

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)";
};
}