Skip to content

Commit

Permalink
dotnetCorePackages.dotnet_{8,9}.vmr: switch CDN URL (NixOS#367825)
Browse files Browse the repository at this point in the history
  • Loading branch information
corngood authored Dec 27, 2024
2 parents cd36676 + 3ffc71f commit 47efa27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/dotnet/8/release-info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"tarballHash": "sha256-18s4O7+iD4bghWFas9y3aeXJr3Mw2Qg0zjSImFe9kuU=",
"artifactsUrl": "https://dotnetcli.azureedge.net/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.8.0.110-servicing.24474.1.centos.9-x64.tar.gz",
"artifactsUrl": "https://builds.dotnet.microsoft.com/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.8.0.110-servicing.24474.1.centos.9-x64.tar.gz",
"artifactsHash": "sha256-I2Kwk7j8Moc5SoDtaBFY7+vCO9IgaSFejVFeUdwEhrA="
}
2 changes: 1 addition & 1 deletion pkgs/development/compilers/dotnet/9/release-info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"tarballHash": "sha256-LhnsYVr+I+MY0Vu3y86rsAs8j7jNyo06SguY6uZkEcc=",
"artifactsUrl": "https://dotnetcli.azureedge.net/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.9.0.100-rc.2.24474.1.centos.9-x64.tar.gz",
"artifactsUrl": "https://builds.dotnet.microsoft.com/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.9.0.100-rc.2.24474.1.centos.9-x64.tar.gz",
"artifactsHash": "sha256-Cxjdi7vISz2wMT22o4ZOEd9RdmKHI8PO/JgH1YJWsVo="
}
3 changes: 2 additions & 1 deletion pkgs/development/compilers/dotnet/update.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,13 @@ writeScript "update-dotnet-vmr.sh" ''
| .[] | .PrivateSourceBuiltArtifactsVersion' eng/Versions.props)
if [[ "$artifactsVersion" != "" ]]; then
artifactsUrl=https://dotnetcli.azureedge.net/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.$artifactsVersion.centos.9-x64.tar.gz
artifactsUrl=https://builds.dotnet.microsoft.com/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.$artifactsVersion.centos.9-x64.tar.gz
else
artifactsUrl=$(xq -r '.Project.PropertyGroup |
map(select(.PrivateSourceBuiltArtifactsUrl))
| .[] | .PrivateSourceBuiltArtifactsUrl' eng/Versions.props)
fi
artifactsUrl="''${artifactsUrl/dotnetcli.azureedge.net/builds.dotnet.microsoft.com}"
artifactsHash=$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url "$artifactsUrl")")
Expand Down

0 comments on commit 47efa27

Please sign in to comment.