quote args

This commit is contained in:
shimun 2020-12-13 21:52:52 +01:00
parent 6d4af5f82c
commit a2a3a8bc48
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -19,7 +19,7 @@ let
brownpaper = sequoia-openpgp; # requires gmp as well
};
client = pkgs.writeShellScriptBin "brownpaper" ''
PATH=${pkgs.bash}/bin/:${pkgs.gnupg}/bin/:${pkgs.curl}/bin/:$PATH ${./bp.sh} $@
PATH=${pkgs.bash}/bin/:${pkgs.gnupg}/bin/:${pkgs.curl}/bin/:$PATH ${./bp.sh} "$@"
'';
in
{ server = (crate2nix_tools.generatedCargoNix { inherit name src; }); inherit client; }