darwin.top: remove source release bootstrap workaround

This commit is contained in:
Randy Eckenrode
2026-04-22 18:31:05 -04:00
parent 576a1b9c85
commit 7e44c27671
@@ -3,23 +3,11 @@
mkAppleDerivation,
ncurses,
pkg-config,
pkgs,
sourceRelease,
}:
let
f =
pkgs: prev:
if
!pkgs.stdenv.hostPlatform.isDarwin
|| pkgs.stdenv.name == "bootstrap-stage0-stdenv-darwin"
|| !(pkgs.stdenv ? __bootPackages)
then
prev.darwin.sourceRelease
else
f pkgs.stdenv.__bootPackages pkgs;
bootstrapSourceRelease = f pkgs pkgs;
# TODO(reckenrode): Use `sourceRelease` after migration has been merged and all releases updated to the same version.
xnu = bootstrapSourceRelease "xnu";
xnu = sourceRelease "xnu";
in
mkAppleDerivation {
releaseName = "top";