Skip to content
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

dotnetCorePackages.*_5*: 5.0.0 -> 5.0.10 #138296

Merged
merged 11 commits into from
Sep 17, 2021
Merged

Conversation

avdv
Copy link
Member

@avdv avdv commented Sep 17, 2021

Motivation for this change

Upgrades to the latest .NET release, supersedes #125736

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably make a proper way to automatically update the sdks, however this PR LGTM

https://github.com/NixOS/nixpkgs/pull/138296

24 packages built:
azure-functions-core-tools btcpayserver depotdownloader discordchatexporter-cli dotnet-sdk_3 dotnet-sdk_5 dotnetCorePackages.aspnetcore_3_1 dotnetCorePackages.aspnetcore_5_0 dotnetCorePackages.net_5_0 dotnetCorePackages.netcore_3_1 github-runner jellyfin jetbrains.rider msbuild nbxplorer omnisharp-roslyn opentabletdriver osu-lazer python-language-server radarr roslyn ryujinx vscode-extensions.ms-vsliveshare.vsliveshare wasabibackend

@avdv
Copy link
Member Author

avdv commented Sep 20, 2021

We should probably make a proper way to automatically update the sdks

Yes, definitely. Will look into how to at least consolidate all the different create-deps scripts... when I find some time.

Also, trying to create a backport of this PR... if nobody beats me to it.

@@ -1,13 +1,26 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p dotnet-sdk_3 nixfmt
#! nix-shell -i bash -p dotnet-sdk_3 jq xmlstarlet curl nixfmt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use nixpkgs-fmt. nixfmt enforces stupidly short lines.

Comment on lines +65 to +72
for package in *
do
cd "$package"
for version in *
do
found=false
for repo in "${repos[@]}"
do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally google style bash is preferred.

for x in y; do

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I prefer that too; just copied that from somewhere else... Hope to fix all these things and use nuget-to-nix instead of all the different things done in those scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants