From 215a7605d695865bd84e6ec0d4f813ef1894b950 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 25 Jun 2024 11:30:15 +0200 Subject: brain: properly quote "$@" --- krebs/5pkgs/simple/brain/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/krebs/5pkgs/simple/brain/default.nix b/krebs/5pkgs/simple/brain/default.nix index bf52da75f..aca06c407 100644 --- a/krebs/5pkgs/simple/brain/default.nix +++ b/krebs/5pkgs/simple/brain/default.nix @@ -3,11 +3,11 @@ write "brain" { "/bin/brain".link = writeDash "brain" '' PASSWORD_STORE_DIR=$HOME/brain \ - exec ${pass}/bin/pass $@ + exec ${pass}/bin/pass "$@" ''; "/bin/brainmenu".link = writeDash "brainmenu" '' PASSWORD_STORE_DIR=$HOME/brain \ - exec ${pass}/bin/passmenu $@ + exec ${pass}/bin/passmenu "$@" ''; "/share/bash-completion/completions/brain".link = runCommand "brain-completions" { -- cgit v1.2.3