1
1
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Bill Ewanick 848045e349 Add scripts to try and get this to work 2023-08-11 20:28:51 -04:00
Bill Ewanick 57a90c89e7 Remove unneeded Haskell libs 2023-08-11 20:26:36 -04:00
4 changed files with 8 additions and 9 deletions

View File

@ -22,7 +22,7 @@ in
enable = true;
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
serviceConfig = {
ExecStart = "cd ${PROJECT_ROOT}/cutesealfanpage.love; nix run .#hakyll-site -- watch --no-server";
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
};
# script = ''
# cd ${PROJECT_ROOT}/cutesealfanpage.love
@ -34,10 +34,9 @@ in
enable = true;
description = "The haskell script that creates the new post of the day.";
startAt = "08:12:42";
script = ''
cd ${PROJECT_ROOT}/cutesealfanpage.love
${pkgs.nix}/bin/nix run .#generateSealPosts
'';
serviceConfig = {
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
};
};
};

View File

@ -17,11 +17,7 @@
pkgs = nixpkgs.legacyPackages.${system};
ghc' = pkgs.haskellPackages.ghcWithHoogle (self: with self; [
dhall
hakyll
neat-interpolation
random
split
]);
in
rec {

View File

@ -0,0 +1,2 @@
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
nix run .#generateSealPosts

View File

@ -0,0 +1,2 @@
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
nix run .#hakyll-site -- watch --no-server