diff --git a/nixos-apps/cutesealfanpage.love.nix b/nixos-apps/cutesealfanpage.love.nix index ef757d3..5e88be0 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} + ${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} + ${pkgs.nix}/bin/nix run .#generateSealPosts ''; }; };