From 9b01406ed10b8537094fa53e6b96d718749bdd7a Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Wed, 9 Aug 2023 19:15:26 -0400 Subject: [PATCH] Fix scripts --- nixos-apps/cutesealfanpage.love.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos-apps/cutesealfanpage.love.nix b/nixos-apps/cutesealfanpage.love.nix index ef757d3..f104563 100644 --- a/nixos-apps/cutesealfanpage.love.nix +++ b/nixos-apps/cutesealfanpage.love.nix @@ -30,7 +30,8 @@ in enable = true; description = "The hakyll executable that rebuilds the site when a new blog post is created."; script = '' - nix run .#hakyll-site -- watch --no-server + cd ${PROJECT_ROOT}/cutesealfanpage.love + ${pkgs.nix}/bin/nix run .#hakyll-site -- watch --no-server ''; }; @@ -39,7 +40,8 @@ in description = "The haskell script that creates the new post of the day."; startAt = "08:12:42"; script = '' - nix run .#generateSealPosts + cd ${PROJECT_ROOT}/cutesealfanpage.love + ${pkgs.nix}/bin/nix run .#generateSealPosts ''; }; };