wine: don't set argv0 in the wrapper for v10.0 and earlier

God, why didn't I check .stable 🤦

Fixes #397271
This commit is contained in:
Acid Bong
2025-04-10 14:46:03 +03:00
parent fbcf6fdd65
commit f86274ee35

View File

@@ -265,7 +265,7 @@ stdenv.mkDerivation (
hidden="$(dirname "$prog")/.$(basename "$prog")"
mv "$prog" "$hidden"
makeWrapper "$hidden" "$prog" \
--inherit-argv0 \
${lib.optionalString (lib.versionAtLeast version "10.1") "--inherit-argv0"} \
--set WINELOADER "$hidden" \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0"
fi