!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
8 Dec 2025
@reckenrode:matrix.orgRandy Eckenrodehttps://www.swift.org/documentation/articles/wrapping-c-cpp-library-in-swift.html#cmake02:17:14
@reckenrode:matrix.orgRandy EckenrodeI wonder if Nix could (ab)use VFS overlays with Clang instead of doing the hacks we do today to make Nix stuff play nicely with unwrapped compilers.02:18:38
@reckenrode:matrix.orgRandy EckenrodeLike just magically have the libc++ headers of your choice appear as if they were in the sysroot.02:19:06
@reckenrode:matrix.orgRandy Eckenrodehttps://forums.swift.org/t/relationship-if-any-between-import-underlying-module-and-emit-objc-header/61287/402:21:47
@tiferrei:tiferrei.comtiferrei Hi folks, I seem to have corrupted my nix db somehow, I keep getting warning: error: SQLite database '/nix/var/nix/db/db.sqlite' is busy in most operations. What is the best way to sort this out? (Lix, nix-darwin) Thanks! 10:23:49
@tiferrei:tiferrei.comtiferreiFixed: Nuked the nix-darwin installation, then the whole nix installation. reinstalled nix and reapplied nix-darwin.12:31:58
@ihar.hrachyshka:matrix.orgIhar HrachyshkaIs there a policy / rule / expectation that would not allow to merge breaking changes for darwin to bump a version of a package? context: https://github.com/NixOS/nixpkgs/pull/463817#issuecomment-3627032203 I'd think we shouldn't KNOWINGLY merge breaking changes, except in situations like security issues; and instead invest time in fixing problems before merge. But apparently there are alternative views. What's acceptable?15:16:04
@reckenrode:matrix.orgRandy EckenrodeRFC-46 is about it. Darwin is not a tier 1 platform, so while not ideal, Darwin probably shouldn’t be blocking updates for Linux.15:18:34
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI don't understand why the rush. it's been 3 weeks total since the issue was even detected.15:22:29
@toonn:matrix.orgtoonn What is agreed upon is that breaking Darwin is OK after notifying darwin-maintainers and giving them a reasonable period to act. 16:44:43
@ihar.hrachyshka:matrix.orgIhar Hrachyshkareasonable does some heavy lifting here :)17:01:18
@toonn:matrix.orgtoonn Well in this case there wasn't even a ping to darwin-maintainers, no? 17:03:49
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaindeed. it was probably assumed I'll just take care of it since I "know" about the issue.17:11:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabtw wonder if core team has opinions on way forward there. Looks like linker on darwin doesn't handle patch versions above a (high) number: https://github.com/ggml-org/llama.cpp/issues/17258 there are some hacks in the issue - splitting the "high" version number into pieces, overriding... - I wonder what would be acceptable in nixpkgs.17:13:56
@toonn:matrix.orgtoonn I don't see an elegant solution honestly. 17:30:39
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaright. ideally upstream takes it seriously and bumps their minor to 0.1.XXXX and do the minor bump periodically to accommodate darwin.17:31:45
@emilazy:matrix.orgemilyone week without meaningful progress has been our general rubric17:31:58
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaotherwise we have to fake our own version numbers (just for darwin?) and risk divergence17:32:10
@emilazy:matrix.orgemilyI think 3 weeks is more than enough notice on unstable17:32:26
@emilazy:matrix.orgemily(ofc the more load-bearing a package is the longer a period is reasonable, e.g. a default LLVM version bump that breaks Darwin is certainly not acceptable, but this is not a channel blocker etc.)17:32:49
@emilazy:matrix.orgemilythey say it doesn't reproduce in CI. are we sure this is their problem?17:33:04
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaone part of the equation is this package "versions" are really just trunk bumps17:33:07
@emilazy:matrix.orgemily if it's to do with the linker, perhaps it is because of us using the abandoned ld64? 17:33:13
@reckenrode:matrix.orgRandy EckenrodeLooks like a Mach-O limitation.17:33:32
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaif that would be some real release process, it would look differently. the way it is, I'm asked to track their trunk at week notice.17:33:35
@emilazy:matrix.orgemily the person reporting the bug says they are using "a Mac 11", which implies probably pre-ld-prime Xcode 17:33:43
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI triggered the build failure on my own mac, not some old version (15 or 26, can't remember)17:34:15
@emilazy:matrix.orgemilywith Nixpkgs toolchain or Xcode?17:34:35
@emilazy:matrix.orgemilyI think we need to understand why upstream's CI has no failure before we expect them to debug it as their issue: https://github.com/ggml-org/llama.cpp/actions/runs/20029229634/job/5743389912617:34:56
@ihar.hrachyshka:matrix.orgIhar Hrachyshkanixpkgs. yes it may be nix-specific, all others in the issue seem to talk about nix package17:35:14

Show newer messages


Back to Room ListRoom Version: 6