Skip to content

Commit f86274e

Browse files
committed
wine: don't set argv0 in the wrapper for v10.0 and earlier
God, why didn't I check .stable 🤦 Fixes NixOS#397271
1 parent fbcf6fd commit f86274e

File tree

1 file changed

+1
-1
lines changed
  • pkgs/applications/emulators/wine

1 file changed

+1
-1
lines changed

pkgs/applications/emulators/wine/base.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ stdenv.mkDerivation (
265265
hidden="$(dirname "$prog")/.$(basename "$prog")"
266266
mv "$prog" "$hidden"
267267
makeWrapper "$hidden" "$prog" \
268-
--inherit-argv0 \
268+
${lib.optionalString (lib.versionAtLeast version "10.1") "--inherit-argv0"} \
269269
--set WINELOADER "$hidden" \
270270
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0"
271271
fi

0 commit comments

Comments
 (0)