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:
commit
ce5e4a6ef2
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user