-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix-diff does not show difference in configureFlags #23
Comments
@nh2: This behavior is mostly intended but could be improved with a more intelligent algorithm. To provide some context, The reason for this behavior is that hash changes for transitive dependencies will "pollute" the environment diff, drowning out other legitimate environment changes you might be interested in. For example, at the Nix level your
... but if the The way to properly fix this would be to ignore environment changes which can be explained from other known changes already displayed to the user (like changes to the input derivations). A short-term fix might be to allow users to opt-in to displaying all changes even if it makes things much more noisy. However, I think the default behavior should still be the current behavior, because usually the intended workflow is to surface the most salient differences first and once those differences are eliminated then |
I think the default behaviour is fine as long as the tool says it, e.g. if it could print
or
or even saving a new line
perhaps with a yellow highlight or so, that would already get rid of the surprises.
That'd also be cool. Then after I one sees |
#23 This now alerts the user when the environment is being skipped and also adds a new `--environment` flag to force display of the environment in diffs
#23 This now alerts the user when the environment is being skipped and also adds a new `--environment` flag to force display of the environment in diffs
For 2 output paths (shortened to
program1
andprogram2
):Clearly the two
configureFlags
are different.But
nix-diff
does not show it:configureFlags
is not mentioned in here.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: