fix: remove node_modules symlink during buildPhase

This commit is contained in:
Youwen Wu 2024-10-31 22:55:30 -07:00
parent 87630118d8
commit b8ade68874
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -88,6 +88,9 @@
) "${pkgs.glibcLocales}/lib/locale/locale-archive";
buildPhase = ''
# remove the node_modules symlink
rm -rf node_modules
${flake.packages.${executable}}/bin/hakyll-site build --verbose
ln -s ${nodeDeps}/lib/node_modules ./node_modules