From c84698069a76ed0e9f7ab9559da9f9ada5bbfee1 Mon Sep 17 00:00:00 2001 From: kat witch Date: Sun, 21 Nov 2021 22:42:51 +0000 Subject: [PATCH] Update helper fixes --- devShell.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devShell.nix b/devShell.nix index 316eb985..22cac41b 100644 --- a/devShell.nix +++ b/devShell.nix @@ -28,7 +28,9 @@ let ''; nf-update = pkgs.writeShellScriptBin "nf-update" '' nix flake update - nix flake lock ./trusted --update-input trusted + if [[ -n $TRUSTED ]]; then + nix flake lock ./trusted --update-input trusted + fi ''; in with lib; pkgs.mkShell { @@ -36,6 +38,7 @@ with lib; pkgs.mkShell { inetutils nf-actions nf-actions-test + nf-update ] ++ config.runners.lazy.nativeBuildInputs ++ (map (node: writeShellScriptBin "${node.networking.hostName}-sd-img" ''