1
1
Fork 0

Fix site.hs issue, switch back to PROJECT_ROOT const

main
Bill Ewanick 2023-09-20 10:52:18 -04:00
parent 7394f5cfe1
commit 725d352b33
2 changed files with 3 additions and 9 deletions

View File

@ -26,12 +26,9 @@ in
git
];
script = ''
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
cd ${PROJECT_ROOT}/cutesealfanpage.love
nix run .#hakyll-site -- watch --no-server
'';
# serviceConfig = {
# ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
# };
};
cutesealfanpage-generatePosts = {
@ -43,12 +40,9 @@ in
git
];
script = ''
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
cd ${PROJECT_ROOT}/cutesealfanpage.love
nix run .#generateSealPosts
'';
# serviceConfig = {
# ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
# };
};
};

View File

@ -41,7 +41,7 @@
-O2 \
-static \
-o site \
site.hs
./site.hs
'';
installPhase = "mkdir -p $out/bin; install -t $out/bin site";
};