!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
18 Dec 2025
@saiko:knifepoint.netKatalin πŸ”ͺ and the compiler i.e. swiftc? 16:58:00
@saiko:knifepoint.netKatalin πŸ”ͺ I'm currently looking but I don't know if you can get it to print a default include path 16:58:11
@saiko:knifepoint.netKatalin πŸ”ͺ there's -Isystem and -I 16:58:19
@saiko:knifepoint.netKatalin πŸ”ͺ like on a normal C compiler 16:58:27
@reckenrode:matrix.orgRandy Eckenrode I think swiftc probably doesn’t look beyond its toolchain location. 16:58:38
@reckenrode:matrix.orgRandy Eckenrode * I suspect swiftc probably doesn’t look beyond its toolchain location. 16:58:47
@reckenrode:matrix.orgRandy EckenrodeIt supports being told where, which is what SwiftPM and CMake both do.16:59:06
@reckenrode:matrix.orgRandy Eckenrode dev is not available for Swift packages due to some evil stuff I am doing to make `buildInputs = [ swift-foo ];β€˜ do something sensible with SwiftPM. 17:00:15
@saiko:knifepoint.netKatalin πŸ”ͺ ah yeah that would make sense, I guess that's how it works with the Xcode toolchain too since that contains everything 17:00:26
@reckenrode:matrix.orgRandy Eckenrode * dev is not available for Swift packages due to some evil stuff I am doing to make buildInputs = [ swift-foo ]; do something sensible with SwiftPM. 17:00:26
@saiko:knifepoint.netKatalin πŸ”ͺ it doesn't have /usr/include as a default path at least from a quick test 17:00:36
@reckenrode:matrix.orgRandy Eckenrode Otherwise, I agree. I’m (ab)using include for CMake files and Swift modules. 17:01:01
@emilazy:matrix.orgemilyyou can get Clang to print out default paths. I forget the flag.17:01:02
@emilazy:matrix.orgemily I bet it works for swiftc too. 17:01:05
@emilazy:matrix.orgemily staticlib then :) 17:01:14
@saiko:knifepoint.netKatalin πŸ”ͺ ah, hold on. here we go 17:03:26
@saiko:knifepoint.netKatalin πŸ”ͺRedacted or Malformed Event17:04:21
@saiko:knifepoint.netKatalin πŸ”ͺ ah no, it only looks for a /usr/include/Foo/module.modulemap which is for the clang modules 17:06:08
@saiko:knifepoint.netKatalin πŸ”ͺ yeah, looks like no default module paths outside the toolchain dir 17:06:17
@saiko:knifepoint.netKatalin πŸ”ͺ this is with strace so I might have missed something 17:07:05
@saiko:knifepoint.netKatalin πŸ”ͺ (when you write 'import Foo', that is) 17:07:26
@saiko:knifepoint.netKatalin πŸ”ͺ good to know in any case, since I will need to deal with this in Meson at some point when I do installable libraries 17:11:14
@reckenrode:matrix.orgRandy EckenrodeI was thinking there might be some pushback on the evil I’m doing. πŸ˜‚17:32:33
@reckenrode:matrix.orgRandy Eckenrode I’m (ab)using dev because of the default lib.getDev done in make-derivation.nix. 17:33:16
@sarahec:matrix.orgSarah ClarkPeople question: my Darwin PRs get merged the slowest. Is there anybody I should include in the review list?18:33:36
@sarahec:matrix.orgSarah Clark(I'm focusing on Darwin fixes)18:34:07
@sarahec:matrix.orgSarah Clark And a tech question: what's the best way to mark a package as broken on xx86_64-darwin? I'd use badPlatforms but recent PRs have been edited to use an inspect clause. 18:43:30
@sarahec:matrix.orgSarah Clark * And a tech question: what's the best way to mark a package as broken on x86_64-darwin? I'd use badPlatforms but recent PRs have been edited to use an inspect clause. 18:44:21
@toonn:matrix.orgtoonn There's a lot fewer Darwin maintainers with commit bit so I'm afraid it's unavoidable. 18:50:07
@sarahec:matrix.orgSarah Clark sigh yeah. And I've seen several committers say they don't care about Darwin. 18:52:38

Show newer messages


Back to Room ListRoom Version: 6