summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAlexey Orlenko <alex@aqrln.net>2025-02-12 23:47:48 +0100
committerAlexey Orlenko <alex@aqrln.net>2025-02-13 00:00:52 +0100
commitecc601b47d5d897433db3c66027dae2c0d52074b (patch)
tree83239607d79ddc73edfd2b94b1b1ac5fc8890ca0 /pkgs/development/python-modules/rangehttpserver
parent922ee4f34456a9b0383dc4b85a789617658dc39a (diff)
prisma: fix dangling symlinks
Make sure we don't leave dangling symlinks in `$out` when building `prisma`. 1. We remove the original `node_modules` after buliding the packages to re-install the runtime dependencies without the dev dependencies. The way it was done was incorrect: only the root `node_modules` directory was removed but not the nested ones inside the packages. The follow-up `pnpm install` command didn't re-create or empty them and only created new files within, so we were left with tons of dangling symlinks from the first, full, `pnpm install` invocation. 2. `.pnpm/node_modules` inside the root `node_modules` contains symlinks to each workspace member package. However, we don't copy every package to `$out`, so we need to clean up this directory to remove the references to the missing packages. Fixes: https://github.com/NixOS/nixpkgs/issues/380427
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions