Getting prereqs in Path
parent
2d9612bb03
commit
f5f70e76e4
|
@ -21,9 +21,13 @@ in
|
||||||
cutesealfanpage-hakyll-site = {
|
cutesealfanpage-hakyll-site = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
||||||
|
path = with pkgs; [
|
||||||
|
nix
|
||||||
|
git
|
||||||
|
];
|
||||||
script = ''
|
script = ''
|
||||||
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
||||||
nix run .#hakyll-site
|
nix run .#hakyll-site -- watch --no-server
|
||||||
'';
|
'';
|
||||||
# serviceConfig = {
|
# serviceConfig = {
|
||||||
# ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
# ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
||||||
|
@ -34,6 +38,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The haskell script that creates the new post of the day.";
|
description = "The haskell script that creates the new post of the day.";
|
||||||
startAt = "08:12:42";
|
startAt = "08:12:42";
|
||||||
|
path = with pkgs; [
|
||||||
|
nix
|
||||||
|
git
|
||||||
|
];
|
||||||
script = ''
|
script = ''
|
||||||
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
||||||
nix run .#generateSealPosts
|
nix run .#generateSealPosts
|
||||||
|
|
Loading…
Reference in New Issue