Skip to content

How to avoid re-building dependencies when only sources change? #140

Answered by yusdacra
srid asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, dream2nix itself is hardcoded to work with an older version of crane:

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.

Could this be related to using an older version of crane (nci uses 0.12)?

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…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@srid
Comment options

@srid
Comment options

@srid
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by srid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants