darwin bootstrapping: Dedup code a bit

This commit is contained in:
John Ericson 2020-10-13 19:26:13 -04:00
parent 5235a1e1fc
commit e75f863bd4
2 changed files with 4 additions and 5 deletions

View file

@ -190,10 +190,7 @@ in rec {
stage1 = prevStage: let
persistent = self: super: with prevStage; {
cmake = super.cmake.override {
isBootstrap = true;
useSharedLibraries = false;
};
cmake = super.cmakeMinimal;
python3 = super.python3Minimal;

View file

@ -10823,7 +10823,9 @@ in
cmake = libsForQt5.callPackage ../development/tools/build-managers/cmake { };
cmakeMinimal = cmake.override { isBootstrap = true; };
cmakeMinimal = libsForQt5.callPackage ../development/tools/build-managers/cmake {
isBootstrap = true;
};
cmakeCurses = cmake.override { useNcurses = true; };