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
I'm deploying to NixOS-machines, and want my build-pipelines to be faster when nothing has changed. It seems like mach-nix might be doing some extra (unnecessary?) work on second-time runs.
Evaluating this the second time takes 5-6 seconds, and prints out several trace-messages:
$ time nix-shell --run "exit"
trace:
applying fix 'remove-patches' (patches) for httpx:0.23.0
trace: removing dependency python3.9-packaging-21.3 from cryptography
trace:
applying fix 'no-rust-build' (nativeBuildInputs) for cryptography:3.3.2
trace: removing dependency python3.9-setuptools-rust-0.12.1 from cryptography
nix-shell --run "exit" 2.58s user 0.45s system 55% cpu 5.416 total
Is there a way to prevent this patchwork/fixing from being repeated? Or to otherwise make the build fast when nothing has changed since the last evaluation?
The text was updated successfully, but these errors were encountered:
Using flakes is not an option for me.
I'm deploying to NixOS-machines, and want my build-pipelines to be faster when nothing has changed. It seems like mach-nix might be doing some extra (unnecessary?) work on second-time runs.
For example:
Evaluating this the second time takes 5-6 seconds, and prints out several trace-messages:
Is there a way to prevent this patchwork/fixing from being repeated? Or to otherwise make the build fast when nothing has changed since the last evaluation?
The text was updated successfully, but these errors were encountered: