-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
dotnet: nixfmt output of nuget-to-nix #361579
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues from me. I think JSON lockfiles will be better in the long term, but I'm fine with this too.
I also believe concerns raised by others would be reassured if this is treated as a stopgap solution?
nugetToNix = nuget-to-nix; | ||
nixfmt = nixfmt-rfc-style; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really relevant to this PR, but rather than substituting these in, would it make sense to instead set PATH using lib.makeBinPath [ nuget-to-nix nixfmt-rfc-style ]
?
We could also do this with or without actually updating the lockfiles. I have them in here now, which was useful to check the rebuild count, etc. |
4d4ea99
to
83a204c
Compare
This was using the bootstrap SDK, which doesn't match the version of the source-built SDK. This will still be a problem if the binary and source-built SDKs don't have the same version.
This reverts commit 7cd9f93.
83a204c
to
f14a539
Compare
|
I think my preference would be not to do a treewide reformat yet. CI only requires formatting for new files (and already compliant files). The nixpkgs-review build with the reformat is reassuring either way. Depending on timing, there's a chance a JSON-based solution may be ready before many of these packages end up bumping their lockfiles. Not that this is important either way. I have no objection to a reformat now. |
f14a539
to
8fb55a6
Compare
Done. I don't think there's really a good argument for regenerating, other than to prove that it can be done. |
Successfully created backport PR for |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.