In dotnet 10, aspnetcore-runtime now includes dotnet-runtime as well.
Previously it only included the App package. This allows the builder to
work with all versions.
Upstream provides bindists for aarch64 musl since 9.8.x, so use that
for building 9.8.x for that platform.
A workaround from upstream is required because the bootstrap binaries
were built with the wrong target platform.
The 9.8 binaries introduce support for aarch64 musl. They can also be
used to build ghcHEAD, which previously wasn't buildable with a
bindist, so use it there and use the source-built 9.8.4 on platforms
without a bindist for consistency. It fails to build 9.10.x and
9.12.x though, so I've left those as they are.
This is required to apply patches that modify configure.ac and
friends, but given we're already including most of it as inputs
anyway, we might as well just always do it and get the additional
benefit of knowing that the generated code corresponds to the source.
The compilers produced by nixpkgs don't use the detailed ABI hash.
("Project Unit Id","ghc-9.10.1-inplace")
which should rather be
("Project Unit Id","ghc-9.10.1-<HASH>"))
This flag is supported on ghc-9.8 and upwards.
From 9.14, this behaviour will be enabled by default.
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13444
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This reverts commit 65a333600d.
This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.
It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).
A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.
[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458