!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

112 Members
23 Servers

Load older messages


SenderMessageTime
13 Nov 2025
@corngood:corngood.comCorngoodI generally start on it when I get the release announcement. Unfortunately the update bot doesn't really work because of how the source and binary packages are coupled, but update.nix does usually work.11:34:32
@corngood:corngood.comCorngood

Mine is here: https://github.com/NixOS/nixpkgs/pull/461246

It would be great to get the update bot working. It actually does manage to update the binary packages most of the time, but we currently build the top level packages (e.g. dotnet-sdk_8) as a composite of the binary SDK and source-built runtime. This means that you need to update them at the same time, or it'll fail a version assert.

So like:

99acf9463aef dotnetCorePackages.dotnet_8.vmr: 8.0.21 -> 8.0.22
9cc88eb04523 dotnetCorePackages.sdk_8_0-bin: 8.0.415 -> 8.0.416

It'

13:59:42
@corngood:corngood.comCorngood *

Mine is here: https://github.com/NixOS/nixpkgs/pull/461246

It would be great to get the update bot working. It actually does manage to update the binary packages most of the time, but we currently build the top level packages (e.g. dotnet-sdk_8) as a composite of the binary SDK and source-built runtime. This means that you need to update them at the same time, or it'll fail a version assert.

So like:

99acf9463aef dotnetCorePackages.dotnet_8.vmr: 8.0.21 -> 8.0.22
9cc88eb04523 dotnetCorePackages.sdk_8_0-bin: 8.0.415 -> 8.0.416
13:59:56
@samuel:mnzn.devSamuel running nixpkgs-review now 14:01:48
@corngood:corngood.comCorngoodI had a brief look for examples of update scripts that deal with this sort of coupling, but I didn't find anything obvious. One method would be to make the composite SDK have an update script that calls both of the child ones.14:02:02
@samuel:mnzn.devSamuel Dang, that's a chonky rebuild, pulling ≈20GB from the cache, that's ≈60GB uncompressed 14:06:17
@corngood:corngood.comCorngoodBuilding all this stuff is too expensive for nixpkgs-review-gha, so I'm not sure if the update bot would even be able to do it... I'm also running a review btw, on x86_64-linux.14:06:42
@corngood:corngood.comCorngoodAnd then I usually do a darwin one from the community builder after that.14:07:02
@samuel:mnzn.devSamuelI'm running on an 8C/16T ryzen server and it still takes a long time every update 🙃14:08:19
@samuel:mnzn.devSamuelMostly due to a full webkit build somewhere down the dependency graph14:09:34
@corngood:corngood.comCorngoodVMR 10 already failed for me... Looks like some sort of change to the output structure :| Why is there a webkit build? Something that's currently broken on master?14:10:55
@samuel:mnzn.devSamuelNo webkit was last time, this time it's just opencv for now14:16:42
@samuel:mnzn.devSamuelimage.png
Download image.png
14:16:47
@samuel:mnzn.devSamuelStill annoying but not that bad14:17:07
@gorillaman43:matrix.orgqsevers23 joined the room.14:20:50
@gorillaman43:matrix.orgqsevers23Thanks for getting the new dotnet releases wrapped up, running nixpkgs-review on aarch64-darwin now14:24:04
@gorillaman43:matrix.orgqsevers23 changed their display name from gorillaman43 to qsevers23.14:24:24
@corngood:corngood.comCorngoodVMR failed because it now outputs dotnet-sdk-10.0.100-rtm.25523.111-linux-x64, but the sdkVersion field in release.json is just '10.0.100'. I guess in the past this always matched, ugh15:46:15
@samuel:mnzn.devSamuel Had to pause the build for a while, but I'm now building the rest of the packages 17:16:20
@samuel:mnzn.devSamuel Ok, the builds are done. I think most of the stuff not related to the vmr failure built correctly. 19:09:42
@corngood:corngood.comCorngood I'm still working on the buildid thing. If I remove the 'officialBuildId' from the manifest, I get e.g. dotnet-sdk-10.0.100-dev-linux-x64.tar.gz, but it's still sticking that -dev in there. This wasn't a problem in the preview builds because the manifest had the full suffix on the versions 19:19:56
@corngood:corngood.comCorngood
  "officialBuildId": "20251023.11"

How does this become 25523.111?

You take YY * 1000 + (M * 50) + D for the first part (for reasons I guess?), and for the second part you arbitrarily add 100 to it.

  <!-- Add 100 to the revision number to avoid clashing with the existing msft official builds. -->
19:26:12
@corngood:corngood.comCorngoodI think it's fixed now. I had to change the build flags from pre-release and didn't notice it in the release notes. I'll run all the SDK tests again and then kick off a review20:42:19
14 Nov 2025
@whovian9369:matrix.orgWhovian9369 I believe it was Corn that first introduced fetch-drv to me and I will be forever appreciative of that since I can --dry-run that to make fetch-deps itself just a tiny bit more convenient! Thank you, Corn! 16:53:45
@corngood:corngood.comCorngood I'm curious how you're using the dry run. The only thing I've ever used fetch-drv for is to run the fetch in a dev shell (e.g. nix develop -f. package.fetch-drv). 18:18:48
@whovian9369:matrix.orgWhovian9369
In reply to @corngood:corngood.com
I'm curious how you're using the dry run. The only thing I've ever used fetch-drv for is to run the fetch in a dev shell (e.g. nix develop -f. package.fetch-drv).
I mainly use --dry-run to build specific derivations before other ones, for example to build dependencies before building the main bulk of a software later.
In the case of fetch-drv, I normally use it to build the dependencies so the normal fetch-deps script doesn't have to wait around before getting to the proper dependencies.
18:31:52
@whovian9369:matrix.orgWhovian9369("Base dependencies" versus "Program dependencies" I suppose?)18:32:34
@whovian9369:matrix.orgWhovian9369 Just checked - Mainly packages like Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Runtime, Microsoft.NETCore.App.Host, etc for Linux/macOS of various architectures 18:40:37
15 Nov 2025
@corngood:corngood.comCorngoodAnyone want to review the backport of the november releases? https://github.com/NixOS/nixpkgs/pull/46169615:04:24
@corngood:corngood.comCorngood
In reply to @corngood:corngood.com
Anyone want to review the backport of the november releases? https://github.com/NixOS/nixpkgs/pull/461696
I already ran the builds and tests, so I don't need anyone to do that. I just prefer to get a +1 from someone else before merging.
17:10:12

Show newer messages


Back to Room ListRoom Version: 9