protontricks: don't hard code default wine in winetricks

Reduces closure size by 1.8G
This commit is contained in:
Kira Bruneau 2020-12-13 10:13:36 -05:00
parent 30ec971ceb
commit 57c9834f7d

View File

@ -35,7 +35,11 @@ buildPythonApplication rec {
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [
steam-run
winetricks
(winetricks.override {
# Remove default build of wine to reduce closure size.
# Falls back to wine in PATH when --no-runtime is passed.
wine = null;
})
zenity
]}"
];