diff --git a/packages/dream2nix-overrides/nodejs/default.nix b/packages/dream2nix-overrides/nodejs/default.nix index 62f3f2d..0037028 100644 --- a/packages/dream2nix-overrides/nodejs/default.nix +++ b/packages/dream2nix-overrides/nodejs/default.nix @@ -28,9 +28,7 @@ in distRoot=$out/share/www dist=$distRoot/excalidraw mkdir -p $distRoot - mv $out/lib/node_modules/excalidraw/build $dist - chmod +w -R $out/lib - rm -rf $out/lib + mv $nodeModules/excalidraw/build $dist find $dist -type f -name "*.map" -delete '';