Merge pull request #248162 from edanaher/anki-pass-command-line-arguments

anki-bin: pass command-line arguments through anki-wrapper
This commit is contained in:
Atemu 2023-08-10 09:59:29 +02:00 committed by GitHub
commit ce5e4a6ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ let
targetPkgs = pkgs: (with pkgs; [ xorg.libxkbfile xcb-util-cursor-HEAD krb5 ]);
runScript = writeShellScript "anki-wrapper.sh" ''
exec ${unpacked}/bin/anki ${ lib.strings.escapeShellArgs commandLineArgs }
exec ${unpacked}/bin/anki ${ lib.strings.escapeShellArgs commandLineArgs } "$@"
'';
extraInstallCommands = ''