mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 14:17:44 +00:00
Merge pull request #224124 from chz101/submit/ankibin
This commit is contained in:
commit
28bd70b571
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, lib, buildFHSUserEnv, appimageTools, writeShellScript, anki, undmg, zstd }:
|
||||
{ fetchurl, stdenv, lib, buildFHSUserEnv, appimageTools, writeShellScript, anki, undmg, zstd, commandLineArgs ? [] }:
|
||||
|
||||
let
|
||||
pname = "anki-bin";
|
||||
@ -57,7 +57,7 @@ let
|
||||
targetPkgs = pkgs: (with pkgs; [ xorg.libxkbfile krb5 ]);
|
||||
|
||||
runScript = writeShellScript "anki-wrapper.sh" ''
|
||||
exec ${unpacked}/bin/anki
|
||||
exec ${unpacked}/bin/anki ${ lib.strings.escapeShellArgs commandLineArgs }
|
||||
'';
|
||||
|
||||
extraInstallCommands = ''
|
||||
|
Loading…
Reference in New Issue
Block a user