!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.org193 Servers

Load older messages


SenderMessageTime
13 Jan 2026
@emilazy:matrix.orgemily but yeah I didn't mean to set @samasaur:matrix.org out on the errand with a guarantee that we'd want to do it :) just that it seemed worth exploring 12:57:06
@reckenrode:matrix.orgRandy EckenrodeCaches.12:57:07
@reckenrode:matrix.orgRandy EckenrodeI think something is pulling in Rust.12:57:38
@emilazy:matrix.orgemilyuh, yeah Rust in the bootstrap might be one to avoid 😅12:58:15
@emilazy:matrix.orgemilyI think we could still trim down closures with a cross setup, right? it'd just be a set of overrides for the build platform12:58:51
@reckenrode:matrix.orgRandy EckenrodeSwift and (maybe more so) SwiftPM appear to favor using SQLite to record build information.12:59:04
@emilazy:matrix.orgemilymostly the less stuff in the bootstrap the less annoying it is to test updates on Darwin for them12:59:28
@reckenrode:matrix.orgRandy EckenrodeCan we define a platform that simply never runs tests?12:59:34
@emilazy:matrix.orgemilysure why not. I mean cross conditions them on canExecute anyway13:00:05
@reckenrode:matrix.orgRandy EckenrodeLike only stage 3 would run tests. It would trim down some of the dependencies.13:00:18
@emilazy:matrix.orgemilyI imagine we could cook up a global config option if one doesn't already exist13:00:26
@emilazy:matrix.orgemilyno there's just nothing forcing us to clean up after people move away from old crap like scons13:01:34
@emilazy:matrix.orgemilythey're in the list solely for a check that they don't get built multiple times during bootstrap13:02:10
@emilazy:matrix.orgemilyso <=1 builds passes13:02:22
@emilazy:matrix.orgemilyand the scons override is just dead code13:02:30
@emilazy:matrix.orgemily if you want to continue then I'd try bisecting feature flags between python3Minimal and our python3-bootstrap. some of the additional stuff is needed for Meson and the LLVM build system, but it's likely to can find lots of stuff to turn off that trims packaged from the final list without breaking the build 13:04:26
@emilazy:matrix.orgemilyagain with no guarantee that we'll want to actually do that but13:04:40
@emilazy:matrix.orgemilyI think it'll be educational if nothing else13:04:49
@emilazy:matrix.orgemily(and I personally think trimming such does is worthwhile because it lowers the things we get pinged for to check after it turns out they rebuild the bootstrap)13:05:23
@emilazy:matrix.orgemily(but ofc if Swift is going to pull in lots of stuff in a more non-negotiable way - maybe the effort just gets undone soon)13:05:51
@reckenrode:matrix.orgRandy Eckenrode Swift pulls in Rust because Swift Build is using oxipng for https://github.com/reckenrode/nixpkgs/blob/swift-update-mk2/pkgs/by-name/sw/swiftPackages/by-name/sw/swift-build/extra-bins/copypng 13:44:59
@reckenrode:matrix.orgRandy EckenrodeWe can use something else that doesn’t pull Rust. Just need the flags.13:45:26
@emilazy:matrix.orgemilyor we can just make it not use compression during bootstrap?13:46:53
@emilazy:matrix.orgemilyor just never do compression?13:46:59
@emilazy:matrix.orgemilyoxipng is kinda slow and I don't think resource PNGs are going to be a substantial contributor to Nix disk use13:47:24
@reckenrode:matrix.orgRandy Eckenrode But for the code signing actions, we may need rcodesign, so it may not be worth the effort. 13:47:50
@emilazy:matrix.orgemilyI'd rather use oxipng over any alternative, but certainly I doubt we use it for bootstrap13:48:03
@emilazy:matrix.orgemilytrue13:48:08
@emilazy:matrix.orgemilythough we were very close to not needing rcodesign or sigtool in bootstrap at all13:48:28
@emilazy:matrix.orgemilyis it totally mandatory to have it for Swift Build?13:48:37

Show newer messages


Back to Room ListRoom Version: 6