Justfile: add a recipe to run cmds with NIX_PATH set

This commit is contained in:
steveej 2019-01-12 22:34:08 +01:00
parent 9ecf20c4ea
commit ab5b5054de

View file

@ -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}}