From a6cb297c77d89c67721b6b2df8c2a7038231555d Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 30 Oct 2022 14:33:43 +0100 Subject: [PATCH] packages/excalidraw: refactor build for new dream2nix --- packages/dream2nix-overrides/nodejs/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 '';