Fix site.hs issue, switch back to PROJECT_ROOT const
parent
7394f5cfe1
commit
725d352b33
|
@ -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";
|
||||
# };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
-O2 \
|
||||
-static \
|
||||
-o site \
|
||||
site.hs
|
||||
./site.hs
|
||||
'';
|
||||
installPhase = "mkdir -p $out/bin; install -t $out/bin site";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue