!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

You have reached the beginning of time (for this room).


SenderMessageTime
12 Jan 2026
@emilazy:matrix.orgemily I don't think we can do by-name/sw/swiftPackages; that doesn't follow the rules and nixpkgs-vet will complain about it. I'd like scopes in by-name, but it's not a thing we can really do right now. 19:29:24
13 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode Not sure. The swbuild tool uses its own command-line parser. It’s pretty funky. A custom frontend could just use Swift Argument Parser and delegate to the library for everything else. 01:06:56
@reckenrode:matrix.orgRandy EckenrodeThis is a helper for keeping the boilerplate down. I don’t see how we can allow switching build systems in a hook. One of the keys to bootstrapping is not pulling in the wrong build system.01:09:29
@reckenrode:matrix.orgRandy Eckenrode lib.getDev and lib.getOutput "dev" work as expected. What other ones are there? 01:10:15
@reckenrode:matrix.orgRandy EckenrodeIdeally, I could get prebuilts working and drop all this stuff.01:10:26
@reckenrode:matrix.orgRandy Eckenrode I didn’t think so. It’s a temporary thing so I can keep the old Swift stuff around to reference while I work. The final PR will probably do it like Tcl does with tcl-modules.nix. 01:11:36
@reckenrode:matrix.orgRandy EckenrodeIf I can, I can revisit using custom helper hooks I guess. I hate hooks because Bash sucks, and debugging them sucks.01:12:51
@reckenrode:matrix.orgRandy EckenrodeMore pressing right now is how exactly to handle stdlib discovery.01:14:38
@emilazy:matrix.orgemilythat would be nice for sure. what was the issue with that again?01:14:38
@reckenrode:matrix.orgRandy EckenrodeIt requires figuring out how it works and (probably) patching SwiftPM to allow it.01:14:56
@samasaur:matrix.orgsamasauraren't they only recently officially supported for swift-syntax only?01:15:14
@samasaur:matrix.orgsamasaurand no support for any other package01:15:20
@reckenrode:matrix.orgRandy Eckenrode There is some magic for Swift Syntax, but it seems to be really brittle. I was able to get it to parse a prebuilts entry in workspace-state.json, but SwiftPM didn’t do anything with it. 01:15:31
@reckenrode:matrix.orgRandy EckenrodeThe more pressing need is figuring out how to discover the stdlib.01:15:47
@reckenrode:matrix.orgRandy EckenrodeThe current approach patches the compiler to find it at an arbitrary path, which isn’t very good for cross-compilation.01:16:19

Show newer messages


Back to Room ListRoom Version: 6