darwin.top: remove source release bootstrap workaround
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user