From 7041c7a74c1c2bff80ff35643ec470e4ed3a3345 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 27 Nov 2023 22:54:41 -0500 Subject: [PATCH] deploy: add nixos-rebuild to PATH --- pkgs/deploy/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/deploy/default.nix b/pkgs/deploy/default.nix index 77b9c89..094972b 100644 --- a/pkgs/deploy/default.nix +++ b/pkgs/deploy/default.nix @@ -1,5 +1,9 @@ -{ writeShellScriptBin, python3 }: +{ nixos-rebuild +, python3 +, writeShellScriptBin +}: writeShellScriptBin "deploy" '' + export PATH="$PATH:${nixos-rebuild}/bin" exec ${python3}/bin/python ${./deploy.py} "$@" ''