!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1180 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org194 Servers

Load older messages


SenderMessageTime
12 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode I would like to try structuring the bootstrap as a cross (with prevStage really being buildPackages). It probably wouldn’t reduce the number of builds, but it might allow is to drop most of the overlays. 18:15:02
@reckenrode:matrix.orgRandy EckenrodeBut that is like 26.11 or 27.05 stuff.18:15:28
@reckenrode:matrix.orgRandy EckenrodeAside from this cleanup, I want to switch Darwin to LLD by default. That will require some work because LLD is not wrapped properly for that.18:16:01
@reckenrode:matrix.orgRandy EckenrodeNo cctools or ld64 should be in the bootstrap at that point.18:16:51
@emilazy:matrix.orgemily hmm, do we actually use python3-bootstrap as our final pkgs.python3? 18:17:36
@emilazy:matrix.orgemilydoes that mean Darwin gets Python without any LTO?18:17:41
@reckenrode:matrix.orgRandy EckenrodeI also want to drop the source releases from the SDK and vendor the needed sources along with the others.18:18:00
@emilazy:matrix.orgemily or is it just that we use one python3-bootstrap build throughout the entire bootstrap but then it gets built once more for the real python3? 18:18:13
@reckenrode:matrix.orgRandy EckenrodeI hope not. That would be a mistake.18:18:16
@emilazy:matrix.orgemilyright18:18:20
@emilazy:matrix.orgemilywas just thinking if it makes sense to think about trimming some of the other feature flags again if it can save us significant builds18:18:35
@emilazy:matrix.orgemilysince we pretty much just need it for Meson and the LLVM/Ninja builds18:19:24
@reckenrode:matrix.orgRandy EckenrodeNot really worth the effort. LLVM and Clang dominate the build times on Darwin. Maybe only OpenSSL is as bad.18:19:42
@emilazy:matrix.orgemilyfair enough18:19:54
@emilazy:matrix.orgemilyI mean it's probably not that bad to pull in Lua or Tcl either ultimately18:20:08
@reckenrode:matrix.orgRandy EckenrodeI would be open to switching to Swift Crypto for ld64, but if we can switch to LLD, it doesn’t matter.18:20:19
@emilazy:matrix.orgemily it does affect what things rebuild the world for staging though 18:20:22
@reckenrode:matrix.orgRandy EckenrodeThat would be the only thing. Is sqlite really not a dependency in the bootstrap?18:20:45
@reckenrode:matrix.orgRandy EckenrodeIt totally will if Swift ever gets added.18:20:58
@emilazy:matrix.orgemilyit's only used via libiconv → ATF → Kyua → SQLite and Python → SQLite18:21:11
@emilazy:matrix.orgemilyKyua pulls in Lua too, SQLite will pull in Tcl soon18:21:25
@reckenrode:matrix.orgRandy EckenrodeI’m getting close on Swift. I need to fix it to find the separate stdlib, then I need to see if I can use prebuilts.18:22:45
@emilazy:matrix.orgemilyif Swift pulls in SQLite regardless then maybe it's not worth trying to cut it out now18:23:06
@reckenrode:matrix.orgRandy EckenrodeThen do Linux, but I think that will be okay with LLVM overrides being only somewhat broken now.18:23:07
@reckenrode:matrix.orgRandy Eckenrode * 18:23:26
@emilazy:matrix.orgemilyare you at the point where you'd like broad architectural review for the Swift stuff btw? not sure what state that stuff has in, have been holding off on looking when there's no PR yet 😅18:23:55
@emilazy:matrix.orgemilythough of course my reliability at looking at stuff is less than I'd like in general lately…18:24:07
@emilazy:matrix.orgemily (will still try to look at that stdenv PR…) 18:24:16
@reckenrode:matrix.orgRandy EckenrodeI can push a branch where it’s just a big, mega commit.18:24:33
@reckenrode:matrix.orgRandy EckenrodeI started over with my previous work as a base.18:25:03

Show newer messages


Back to Room ListRoom Version: 6