nixpkgs/pkgs
Anders Kaseorg b5160bba86 appimageTools.wrapAppImage: Fix passing arguments to wrapped executable
appimage-exec.sh parses its arguments with getopts, so we need to
delimit arguments intended for the wrapped executable with ‘--’, in
case some of them begin with ‘-’.

Without this fix, a wrapped application like Zulip Desktop can’t be
opened the normal way using the .desktop file, which includes
‘Exec=zulip --no-sandbox %U’ (as per the electron-builder default):

$ gtk-launch zulip.desktop
/usr/bin/appimage-exec.sh: illegal option -- -
Usage: appimage-run [appimage-run options] <AppImage> [AppImage options]
[…]

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-07-01 17:16:10 -07:00
..
applications Merge pull request #128077 from doronbehar/pkg/imagej 2021-06-28 23:41:32 +02:00
build-support appimageTools.wrapAppImage: Fix passing arguments to wrapped executable 2021-07-01 17:16:10 -07:00
common-updater
data wireless-regdb: 2020.04.29 -> 2021.04.21 2021-06-28 10:43:40 +02:00
desktops Merge pull request #127823 from Stunkymonkey/games-pname 2021-06-28 23:39:30 +02:00
development Merge pull request #128519 from vcunat/p/kimageformats-libavif-0.9.2 2021-06-28 23:05:32 +01:00
games Merge pull request #127823 from Stunkymonkey/games-pname 2021-06-28 23:39:30 +02:00
misc Merge pull request #92969 from lopsided98/uboot-hydra-build-products 2021-06-28 15:13:37 -04:00
os-specific Merge pull request #128509 from Mic92/dpdk 2021-06-28 20:32:44 +01:00
pkgs-lib pkgs-lib: allow paths in TOML, YAML and JSON 2021-06-28 11:59:03 -04:00
servers Merge pull request #128508 from dotlambda/starline-init 2021-06-28 23:51:47 +02:00
shells nushell: 0.32.0 -> 0.33.0 2021-06-27 12:46:51 +02:00
stdenv
test Merge branch 'master' into staging-next 2021-06-26 00:33:58 +02:00
tools Merge pull request #128479 from Lassulus/tinc_pre 2021-06-28 22:55:43 +02:00
top-level Merge pull request #128508 from dotlambda/starline-init 2021-06-28 23:51:47 +02:00