Why was dotnet marked broken on Darwin?

Per Hydra - nixpkgs:trunk:dotnet-sdk_6.x86_64-darwin, the last build of dotnet-sdk_6.x86_64-darwin was Hydra - Build 178172636 of job nixpkgs:trunk:dotnet-sdk_6.x86_64-darwin, which was successful. I don’t see any earlier broken builds either. Could someone please point me to why it was marked as broken in treewide: pkgs/development/compilers: mark broken for darwin · NixOS/nixpkgs@0b45cae · GitHub, part of the big zero-hydra-failures https://github.com/NixOS/nixpkgs/pull/173671 ?

I’ve raised dotnet: mark dotnet unbroken on Darwin by Smaug123 · Pull Request #176000 · NixOS/nixpkgs · GitHub to undo it, but I don’t really know how to test in a remotely comprehensive way (and I only have a darwin-aarch64 machine anyway). nixpkgs-review did nothing at all, but a nix-shell -p dotnet-sdk_6 was able to build a simple .NET project.

Probably by accident and having stale results. If it works please submit a PR to unmark it.

Probably some configuration or subset was broken, that PR was a little bit too broad. Especially if derivations had some generic thing it might’ve caused issues. In this case it might’ve been a different version of dotnet that was broken?

Next time I’ll try to add some more metadata if we do this again, so we can more easily trace back where it went wrong.

I ran into this with a couple of packages (ledger and mono). It was a little frustrating at first, but it induced me to fix the underlying problems, so I feel like it had some benefit.

Now if only upstream would do a stable release, so mono would build on aarch64-darwin ….

2 Likes