fixup! Justfile: add a recipe to run cmds with NIX_PATH set
This commit is contained in:
parent
7ab7c8be30
commit
a18c5cddb3
1 changed files with 2 additions and 2 deletions
4
Justfile
4
Justfile
|
@ -192,8 +192,8 @@ verify-n-unlock sshserver attempts="10":
|
||||||
_get_pass_entry path key:
|
_get_pass_entry path key:
|
||||||
pass show {{path}}| grep -E "^{{key}}:" | awk '{ print $2 }'
|
pass show {{path}}| grep -E "^{{key}}:" | awk '{ print $2 }'
|
||||||
# jq -sR 'split("\n") | map(split(":"))' <(pass show Infrastructure/VPS/CFB4ED74 | grep -E "^[A-Za-z_]+:")
|
# jq -sR 'split("\n") | map(split(":"))' <(pass show Infrastructure/VPS/CFB4ED74 | grep -E "^[A-Za-z_]+:")
|
||||||
#
|
|
||||||
run-with-channels +cmds:
|
run-with-channels +cmds:
|
||||||
#/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)
|
source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)
|
||||||
{{cmds}}
|
{{cmds}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue