build: 🏗️ Make Nix build great again

This commit is contained in:
Jesse Wierzbinski 2025-04-14 16:51:00 +02:00
parent 1679585c4c
commit 5a4ce29206
No known key found for this signature in database
13 changed files with 6773 additions and 194 deletions

View file

@ -47,15 +47,15 @@ await $`mkdir -p dist/node_modules`;
// Copy Sharp to dist
await $`mkdir -p dist/node_modules/@img`;
await $`cp -r node_modules/@img/sharp-libvips-linuxmusl-* dist/node_modules/@img`;
await $`cp -r node_modules/@img/sharp-linuxmusl-* dist/node_modules/@img`;
await $`cp -rL node_modules/@img/sharp-libvips-linux* dist/node_modules/@img`;
await $`cp -rL node_modules/@img/sharp-linux* dist/node_modules/@img`;
// Copy acorn to dist
await $`cp -r node_modules/acorn dist/node_modules/acorn`;
await $`cp -rL node_modules/acorn dist/node_modules/acorn`;
// Copy bull-board to dist
await $`mkdir -p dist/node_modules/@bull-board`;
await $`cp -r node_modules/@bull-board/ui dist/node_modules/@bull-board/ui`;
await $`cp -rL node_modules/@bull-board/ui dist/node_modules/@bull-board/ui`;
// Copy the Bee Movie script from pages
await $`cp beemovie.txt dist/beemovie.txt`;