You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that any nix flake related command copies the whole
source tree under `/nix/store` again and again for every file
modification. This behavior needs a proper fix from upstream[^1].
Fortunately it can be worked around by removing unblob build from the
shell environment dependencies, and using the legacy `shell.nix`
entrypoint. Here we can prefilter the source tree before involving
`flake.nix` in the picture. Copying will still happen, but much less
frequently, as source and tests files will be filtered out.
As all our dependencies well behaving now, we can easily use poetry
inside a nix-shell env, no workarounds for build quirks needed.
[^1]: NixOS/nix#3121
0 commit comments