Justfile: add a recipe to run cmds with NIX_PATH set
This commit is contained in:
parent
9ecf20c4ea
commit
ab5b5054de
1 changed files with 5 additions and 0 deletions
5
Justfile
5
Justfile
|
@ -175,3 +175,8 @@ verify-n-unlock sshserver attempts="10":
|
|||
_get_pass_entry path key:
|
||||
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_]+:")
|
||||
#
|
||||
run-with-channels +cmds:
|
||||
#/usr/bin/env bash
|
||||
source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)
|
||||
{{cmds}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue