mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
fix: remove node_modules symlink during buildPhase
This commit is contained in:
parent
87630118d8
commit
b8ade68874
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@
|
||||||
) "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
) "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
# remove the node_modules symlink
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
${flake.packages.${executable}}/bin/hakyll-site build --verbose
|
${flake.packages.${executable}}/bin/hakyll-site build --verbose
|
||||||
ln -s ${nodeDeps}/lib/node_modules ./node_modules
|
ln -s ${nodeDeps}/lib/node_modules ./node_modules
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue