Skip to content

Commit 71d9aa0

Browse files
authored
wine: don't set argv0 in the wrapper for v10.0 and earlier (NixOS#397689)
2 parents 2349f9d + f86274e commit 71d9aa0

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)