From ab5b5054dec652b010425deb43686a3fccbbbf71 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sat, 12 Jan 2019 22:34:08 +0100 Subject: [PATCH] Justfile: add a recipe to run cmds with NIX_PATH set --- Justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Justfile b/Justfile index 8651c3d..c7e157e 100755 --- a/Justfile +++ b/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}}