Gabriella439 / nix-diff

Explain why two Nix derivations differ
BSD 3-Clause "New" or "Revised" License
342 stars 18 forks source link

Crash if nix-diff tries to open a derivation that doesn't exist #3

Open ocharles opened 6 years ago

ocharles commented 6 years ago

I have scped just a single derivation from a remote machine. If I try and diff this against a local diff, nix-diff is productive, but if the input derivations change, nix-diff seems to try and recurse into them - but that fails as I didn't copy the input derivations. It would be better if nix-diff could handle this and warn me that it couldn't continue doing a deep comparison.

Gabriella439 commented 6 years ago

Yeah, this seems reasonable. Would you be able to contribute a fix for this one?