!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1181 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
17 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode * swiftc, swift-driver, the stdlib, swift-corelibs-xctest, swift-testing, (on Linux), swift-corelibs-foundation, etc. 18:43:49
@emilazy:matrix.orgemily right. unfortunate that that will involve targetPackages for a multi-target compiler but maybe we can figure something out with upstream one day 18:44:14
@emilazy:matrix.orgemilyhow does their whole cross SDK stuff work upstream?18:44:31
@reckenrode:matrix.orgRandy Eckenrode You specify --sdk <path to SDK>. 18:45:15
@reckenrode:matrix.orgRandy EckenrodeAFAIK18:45:16
@reckenrode:matrix.orgRandy EckenrodeThere are static Linux SDKs for various distros.18:45:27
@reckenrode:matrix.orgRandy Eckenrode * 18:45:48
@reckenrode:matrix.orgRandy EckenrodeSupporting cross-compilation is a non-goal currently for my Swift work. It doesn’t currently work. Having the stdlib separate at least moves us in the right direction.18:47:13
@reckenrode:matrix.orgRandy EckenrodeRight now I’m just looking for spliced packages in things that care about that.18:48:25
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/reckenrode/nixpkgs/blob/139e88d5b9ed888bc534afcb981c4d79698fecb3/pkgs/by-name/sw/swiftPackages/by-name/sw/swiftc/package.nix#L61-L9718:49:43
@reckenrode:matrix.orgRandy EckenrodeIf cross just happens to work, yay. I doubt it will, though we’re closer than we are currently.18:50:26
@emilazy:matrix.orgemilyI was wondering whether we can avoid this "looking at its own location" by just putting that stuff in the SDK.18:51:47
@emilazy:matrix.orgemily then the SDK is a build input, a la apple-sdk. the compiler could propagate the ones for the host and target platforms 18:52:45
@reckenrode:matrix.orgRandy Eckenrode We would have to vend a special SDK on Darwin that adds the Swift libs the apple-sdk. 19:30:39
@reckenrode:matrix.orgRandy EckenrodeMaybe we can do that, but it can be done in a follow up.19:30:56
@emilazy:matrix.orgemilyah, it expects the other macOS SDK stuff mixed in with the Swift stuff? fun20:39:11
@reckenrode:matrix.orgRandy Eckenrode It maps SDKROOT to --sdk automatically. 20:41:00
@emilazy:matrix.orgemilygotcha20:43:05
@ihar.hrachyshka:matrix.orgIhar Hrachyshkacompiler-rt build fix for x86_64-darwin is confirmed: https://github.com/NixOS/nixpkgs/pull/48088920:43:09
19 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:22:35
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:22:35
@0x4a6f:matrix.org[0x4A6F] joined the room.19:23:06
@nbardiuk:matrix.orgnazarii joined the room.19:24:29
@casey:hubns.netcasey © joined the room.19:27:39
@elvishjerricco:matrix.orgElvishJerricco joined the room.19:38:47
@andi:kack.itandi- joined the room.19:39:40
@stick:matrix.orgprusnak joined the room.19:46:16
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:50:54
@joerg:bethselamin.deMic92 joined the room.19:51:07
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.20:03:59

Show newer messages


Back to Room ListRoom Version: 6