Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
kryptor: .NET 6 -> 8 #363629
kryptor: .NET 6 -> 8 #363629
Changes from all commits
9431dcc
bc259d4
23d1d5c
2d8de12
1f93aee
e7b93f4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
If you like, you could use
"$UPDATE_NIX_ATTR_PATH"
here, and on the next line.Some packages even do something like:
to keep the script working when called directly.
It's only helpful if someone makes an overridden version of the package at another attribute path, so it's up to you whether you think it's worth it.
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.
I think it's cleaner as it is now, even if it won't work for overridden packages, thanks for the suggestion though.
Bit off topic but are there any plans for
passthru.updateScript = nix-update-script { }
supporting dotnet and updatingdeps.nix
?It works with for example pnpm packages, where it updates the hash inside
pnpmDeps = pnpm.fetchDeps { hash = "..."; ... }
Also currently it's nice that each nuget package from
deps.nix
(and soondeps.json
) is a seperate derivation and can be built independently, but regarding to #327064, what do you think about something likenugetDeps = dotnet_sdk.fetchNugetDeps { hash = "..."; ... };
? A similar movement is also happening for rust packages.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.
The problem is that restore isn't deterministic. There's no lock-file in most packages, and even if there was, the dotnet lockfile mechanism has some problems.
It's a good idea though. Maybe we'll get there eventually.