Describe the bug
When compiling any crate for any target, be it native or cross compiled when the installPhase is ran and removeReferencesToVendoredSourcesHook is running i seed sed sleep for about 40 seconds, followed by a rapid jump in memory usage up to around 18GB.
I've tried messing around by extracting the script and running it manually but cannot recreate without it being part of the build.
Also worth noting I'm using crane through dream2nix which I'm using through nix-cargo-integration.
Reproduction
The Repository is located at https://github.com/AMTSupport/tools
This is a monorepo with multiple programs the issue occurs in all of them so far in my testing but for reference you can run nix build .#cleaner-x86_64-linux-dev
Describe the bug When compiling any crate for any target, be it native or cross compiled when the installPhase is ran and removeReferencesToVendoredSourcesHook is running i seed sed sleep for about 40 seconds, followed by a rapid jump in memory usage up to around 18GB.
I've tried messing around by extracting the script and running it manually but cannot recreate without it being part of the build. Also worth noting I'm using crane through dream2nix which I'm using through nix-cargo-integration.
Reproduction The Repository is located at https://github.com/AMTSupport/tools This is a monorepo with multiple programs the issue occurs in all of them so far in my testing but for reference you can run
nix build .#cleaner-x86_64-linux-dev
Logs