From b8ade68874155307f3e04a9f0b41e41741d74ca0 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 31 Oct 2024 22:55:30 -0700 Subject: [PATCH] fix: remove node_modules symlink during buildPhase --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 08e8d9b..4413dd2 100644 --- a/flake.nix +++ b/flake.nix @@ -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