Silvan Mosberger
Silvan Mosberger
E.g. changing ```nix { inherit foo bar; } ``` to ```nix { inherit foo bar baz; } ``` gives the diff ```diff { inherit foo bar + baz ; }...
That works in some cases, but a truly semantic diff is trickier. I was recently pointed to https://github.com/Wilfred/difftastic though, which I believe does this already. And it's based on treesitter,...
Unfortunately not really fixable nicely here, this is a Nix bug: https://github.com/NixOS/nix/issues/4265
Yeah that would work, it's just not nice, since it requires manual updates (or setting up automated ones). I don't think that's worth it for a bug that should really...
Fair enough, let's reconsider!
@remi-gelinas Hmm I just tried it on an aarch64-darwin machine, but couldn't reproduce the problem. I also don't see why it would need to build anything for `x86_64-linux`. Can you...
The script already handles that pretty well! It uses the `nixpkgs` repo for the same user as the nixfmt repo, and creates/updates branches `nixfmt-`. It should be usable with minimal...
[Experimenting a bit](https://github.com/Infinisil-s-Test-Organization/nixfmt/pull/1) with a separate NixOS organisation. Just linking this for future reference
Note: We should run it with `--verify` Should furthermore check that `nix-instantiate --parse` is preserved
(discussed in the team meeting today:) - Easiest: Create separate organisation with just a Nixpkgs fork, use it just to view the diffs, no permissions to the main org necessary...