make script addable to path

This commit is contained in:
shimun 2020-12-12 14:46:06 +01:00
parent a91d1225d9
commit 3b5bf84b18
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -17,7 +17,7 @@ let
}; };
brownpaper = sequoia-openpgp; # requires gmp as well brownpaper = sequoia-openpgp; # requires gmp as well
}; };
client = pkgs.writeShellScript "brownpaper" '' client = pkgs.writeShellScriptBin "brownpaper" ''
PATH=$PATH:${pkgs.gnupg}/bin/:${pkgs.curl}/bin/ ${./bp.sh} $@ PATH=$PATH:${pkgs.gnupg}/bin/:${pkgs.curl}/bin/ ${./bp.sh} $@
''; '';
in in