From f5f70e76e4e2d1688e7dc22f88bfe9bb52b7ce8f Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Wed, 20 Sep 2023 01:20:44 -0400 Subject: [PATCH] Getting prereqs in Path --- nixos-apps/cutesealfanpage.love.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos-apps/cutesealfanpage.love.nix b/nixos-apps/cutesealfanpage.love.nix index 4ef6a7a..2fba9f5 100644 --- a/nixos-apps/cutesealfanpage.love.nix +++ b/nixos-apps/cutesealfanpage.love.nix @@ -21,9 +21,13 @@ in cutesealfanpage-hakyll-site = { enable = true; description = "The hakyll executable that rebuilds the site when a new blog post is created."; + path = with pkgs; [ + nix + git + ]; script = '' cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love - nix run .#hakyll-site + nix run .#hakyll-site -- watch --no-server ''; # serviceConfig = { # ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site"; @@ -34,6 +38,10 @@ in enable = true; description = "The haskell script that creates the new post of the day."; startAt = "08:12:42"; + path = with pkgs; [ + nix + git + ]; script = '' cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love nix run .#generateSealPosts