anki-bin: pass command-line arguments through anki-wrapper
This commit is contained in:
parent
246cf6c11e
commit
de88bd94d6
1 changed files with 1 additions and 1 deletions
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue