forked from mirrors/nixpkgs
Merge pull request #144881 from vs49688/wtfix
winetricks: remove wine dependency
This commit is contained in:
commit
d631a73345
|
@ -49,7 +49,7 @@ python3Packages.buildPythonApplication rec {
|
|||
|
||||
makeWrapperArgs = [
|
||||
"\${gappsWrapperArgs[@]}"
|
||||
"--prefix PATH : ${lib.makeBinPath [ xdg-user-dirs xdg-utils wine (winetricks.override { wine = wine; }) ]}"
|
||||
"--prefix PATH : ${lib.makeBinPath [ xdg-user-dirs xdg-utils wine winetricks ]}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, callPackage, wine, perl, which, coreutils, zenity, curl
|
||||
{ lib, stdenv, callPackage, perl, which, coreutils, zenity, curl
|
||||
, cabextract, unzip, p7zip, gnused, gnugrep, bash } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ perl which ];
|
||||
|
||||
# coreutils is for sha1sum
|
||||
pathAdd = lib.concatMapStringsSep ":" (x: x + "/bin")
|
||||
(lib.filter (x: x != null)
|
||||
[ wine perl which coreutils zenity curl cabextract unzip p7zip gnused gnugrep bash ]);
|
||||
pathAdd = lib.makeBinPath [
|
||||
perl which coreutils zenity curl cabextract unzip p7zip gnused gnugrep bash
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
|
|
|
@ -30450,13 +30450,7 @@ with pkgs;
|
|||
steam-acf = callPackage ../tools/games/steam-acf { };
|
||||
|
||||
protontricks = python3Packages.callPackage ../tools/package-management/protontricks {
|
||||
winetricks = winetricks.override {
|
||||
# Remove default build of wine to reduce closure size.
|
||||
# Falls back to wine in PATH.
|
||||
wine = null;
|
||||
};
|
||||
|
||||
inherit steam-run yad;
|
||||
inherit winetricks steam-run yad;
|
||||
};
|
||||
|
||||
protonup = with python3Packages; toPythonApplication protonup;
|
||||
|
|
Loading…
Reference in a new issue