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
+1 -1
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 = ''