-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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-sdk: 6.0.400 -> 6.0.401 #191962
dotnet-sdk: 6.0.400 -> 6.0.401 #191962
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.
Thanks! Left you some comments.
098cb97
to
5588200
Compare
5588200
to
b658b15
Compare
This update script calls the existing update.sh script with the proper arguments. If not an SDK package, run a dummy script which allows the update.nix script to work properly. This should allow dotnet to be update automatically.
If updating to the latest version, and the local expression already is the latest version, exit without regenerating everything.
b658b15
to
a9fc578
Compare
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.
Looks good to me, thank you.
Result of nixpkgs-review pr 191962
run on x86_64-linux 1
25 packages built:
- ArchiSteamFarm
- boogie (dotnetPackages.Boogie)
- btcpayserver
- depotdownloader
- discordchatexporter-cli
- dotnet-aspnetcore (dotnet-aspnetcore_6 ,dotnetCorePackages.aspnetcore_6_0)
- dotnet-runtime (dotnet-runtime_6 ,dotnetCorePackages.runtime_6_0)
- dotnet-sdk (dotnet-sdk_6 ,dotnetCorePackages.sdk_6_0)
- formula
- github-runner
- jackett
- jetbrains.rider
- nbxplorer
- netcoredbg
- omnisharp-roslyn
- opentabletdriver
- osu-lazer
- pinta
- pre-commit
- prowlarr
- ps3-disc-dumper
- radarr
- ryujinx
- scarab
- xivlauncher
@@ -121,6 +122,24 @@ stdenv.mkDerivation (finalAttrs: rec { | |||
"aarch64-darwin" = "osx-arm64"; | |||
}; | |||
|
|||
updateScript = | |||
if type != "sdk" then |
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.
Why not add the update script only for type == "sdk"
then? This currently prints the warning whenever I try to update GNOME with
nix-shell maintainers/scripts/update.nix --arg predicate '(path: pkg: pkg.updateScript.name or null == "gnome-update-script")'
As per suggestion in NixOS#191962 (review)
Description of changes
See release notes
Also, in this PR I added an
updateScript
todotnet-sdk
, which should (coupled with the previous change to exclude package-specific lockfiles, which avoids having to regenerate all lockfiles) allow all dotnet versions to be updated automatically.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes