Not sure where this regression occurred but its making my development process pretty painful…
With Lix 2.91.1
time nix build ../mycrate#my-crate-bin
real 0m0.336s
user 0m0.039s
sys 0m0.057s
With nix 2.24.12, 2.25
time nix build ../mycrate#my-crate-bin
real 0m56.727s
user 0m2.692s
sys 0m0.575s
It looks as if the evaluation fails to cache with plain nix, while lix figures it out. Using Cargo2nix fixes my build, but I would prefer to not port my setup for that…