-
Problem
You'll see that the second nix build is recompiling all the dependency crates. Questions
Footnotes |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I don't see the dependency rebuilding behaviour on my end, seems to work as intended for me. I'm on Nix 2.17.0 if that helps.
Yes, it does.
I've iterated over it a lot by now and I probably won't change the interface a lot after this, as dream2nix also won't change a lot since it switched to modules proper. I can't really promise considering it's not being used in bigger projects so it might not satisfy some needs perhaps and might need changes here and there but I believe most of these are probably going to be additions. |
Beta Was this translation helpful? Give feedback.
-
It's not hardcoded, this is just a default. Everything specified in
I think this issue is probably the same as nix-community/dream2nix#506 then, i didn't have time to look into it though because i don't use non-linux systems. I will try updating to a newer crane version later and see if that fixes anything, though I think this might be an issue because of how crane is used in dream2nix itself rather than crane itself, but as i said i didn't look into that. |
Beta Was this translation helpful? Give feedback.
It's not hardcoded, this is just a default. Everything specified in
deps
can be overrode, this is how NCI provides it's own crane source from it's flake inputs.I think this issue is probably the same as nix-community/dream2nix#506 then, i didn't have time to look into it though because i don't use non-linux systems. I will try updating to a newer crane version later and see if that fixes anything, though I think this might be an issue because of how crane is used in dream2nix itself rather than crane itself, but as i said i didn't look i…