!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
31 Oct 2025
@niklaskorz:matrix.orgniklaskorzok so then it makes sense that is being compiled for the build platform13:37:26
@niklaskorz:matrix.orgniklaskorz hm but in that case emily's original suggestion is likely the solution and I just added it in the wrong place 13:38:30
@niklaskorz:matrix.orgniklaskorzat least I'm now certain it fails for cc crate with feature parallel enabled13:52:59
@reckenrode:matrix.orgRandy EckenrodeShouldn’t the build platform CC have the right SDK and stuff? It should be using the fallback SDK.13:55:02
@reckenrode:matrix.orgRandy EckenrodeOh, but it’s not finding the propagated inputs probably. If you add just libiconv, does it work?13:56:53
@reckenrode:matrix.orgRandy EckenrodeI hate how we do dependencies so much.13:57:02
@reckenrode:matrix.orgRandy EckenrodeLike with a bunch of wrapper stuff and Bash to find propagated dependencies.13:57:50
@niklaskorz:matrix.orgniklaskorzno, already tried that :/13:58:44
@reckenrode:matrix.orgRandy EckenrodeMaybe we should symlink the dylibs or add text-based stubs for them instead of propagating them. I can do that for 26.05. It seems too risky for 25.11.13:59:08
@reckenrode:matrix.orgRandy EckenrodeI don’t think adding an SDK for the build platform is the right solution.13:59:31
@reckenrode:matrix.orgRandy Eckenrode * 13:59:46
@reckenrode:matrix.orgRandy EckenrodeOr maybe it is but only when Darwin is the build. 🤔14:00:25
@niklaskorz:matrix.orgniklaskorzuploaded the minimal reproducer here: https://github.com/niklaskorz/nix-rust-cross-cc14:00:29
@k900:0upti.meK900https://www.lunarg.com/lunarg-achieves-vulkan-1-3-conformance-with-kosmickrisp-on-apple-silicon/ wow15:05:43
@emilazy:matrix.orgemily we should just add apple-sdk to extraNativeBuildInputs I'm pretty sure 15:43:10
@emilazy:matrix.orgemilyit's redundant on native but the right thing for cross15:43:19
@ihar.hrachyshka:matrix.orgIhar Hrachyshkais there a ready module for ssh-agent like the one in hm but launchd compatible?22:11:55
1 Nov 2025
@samasaur:matrix.orgsamasaurhttps://www.swift.org/build-and-packaging-workgroup/00:19:43
@samasaur:matrix.orgsamasaurseems like that workgroup is not actually about packaging swift itself but it's still nice that there is now an actual group working on the build tooling00:20:39
@samasaur:matrix.orgsamasaur

we technically fall under this responsibility:

work with the community to support tooling outside the Swift project

00:21:44
@samasaur:matrix.orgsamasaurthough that is a generous reading on my part00:21:54
@reckenrode:matrix.orgRandy Eckenrode

Decisions about how components of the Swift toolchain itself are built and distributed fall outside the workgroup’s charter.

00:22:11
@samasaur:matrix.orgsamasaurhmm00:22:47
@reckenrode:matrix.orgRandy EckenrodeIt seems like this is about build system integration and how to help them with things like dependency resolution?00:23:07
@samasaur:matrix.orgsamasaurso (if helpful at all) would be more helpful for your swift package set work, perhaps?00:23:24
@samasaur:matrix.orgsamasauri wonder if there is a working group for packaging the toolchain itself00:23:37
@reckenrode:matrix.orgRandy EckenrodeMaybe, but the way Nix does things is an impediment.00:29:09
@saiko:knifepoint.netKatalin 🔪

Encourage development of Swift integrations in existing build and packaging systems that are outside of the Swift project (e.g. CMake, Bazel)

this is really cool to see :^)

00:30:54
@saiko:knifepoint.netKatalin 🔪 especially since I'm working on making Swift support in Meson better 00:32:08
@saiko:knifepoint.netKatalin 🔪 but also just in general 00:32:15

Show newer messages


Back to Room ListRoom Version: 6