From 2902ca91aa3d256fc7a8a79492477f32666582a8 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 9 Jan 2025 23:24:43 +0000 Subject: [PATCH] Switch back to copying --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 1ef9101..f4d0faa 100644 --- a/flake.nix +++ b/flake.nix @@ -25,8 +25,9 @@ setupNodeModules = '' rm -rf node_modules package.json - ln -sf ${packageJSON} package.json - ln -sf ${nodeModules}/node_modules . + cp -r ${nodeModules}/node_modules . + chmod -R +w node_modules + cp ${packageJSON} package.json ''; siteDrv = pkgs.stdenv.mkDerivation {