anki-bin: pass command-line arguments through anki-wrapper

This commit is contained in:
Evan Danaher 2023-08-09 10:19:49 -04:00
parent 246cf6c11e
commit de88bd94d6

View file

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