!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1161 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
16 Oct 2025
@reckenrode:matrix.orgRandy EckenrodeShould I retarget staging?19:09:42
@reckenrode:matrix.orgRandy EckenrodeThe rebuild count isn’t high, but it rebuilds nixos-tests, which I guess is heavy?19:09:57
@samasaur:matrix.orgsamasaurthat seems reasonable19:15:53
@reckenrode:matrix.orgRandy EckenrodeThat’s what the tooltip for the label said, so I switched it to staging.19:16:09
@samasaur:matrix.orgsamasaur

here's my work on sentry-cli. it still fails with the following warnings:

sentry-cli>   = note: ld: warning: directory not found for option '-L/nix/store/2rynnwc94yn21j5d4acci5ww4qgp4608-apple-sdk-14.4/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftObservation'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftObjectiveC'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftFoundation'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swift_StringProcessing'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftCoreFoundation'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swift_Concurrency'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftXPC'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftCompatibilityPacks'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftUniformTypeIdentifiers'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftIOKit'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftCoreGraphics'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftDarwin'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftCore'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftDispatch'
sentry-cli>           ld: warning: Could not find or use auto-linked library 'swiftCompatibility56'

followed by a LOT of "unavailable symbol" errors

19:16:56
@samasaur:matrix.orgsamasauri won't be able to look at this for a bit but hopefully that is helpful. best of luck to anyone who tries, hopefully it's just adjusting the linking path19:26:05
@reckenrode:matrix.orgRandy Eckenrode This patch works for me: https://gist.github.com/reckenrode/8bae7645d17a60f8659439e7944199cd. You need to use replaceVars with swiftLib = lib.getLib swift; on the patch. 20:01:06
@reckenrode:matrix.orgRandy Eckenrode
$ result/bin/sentry-cli --version
sentry-cli 2.56.1
20:01:20
@emilazy:matrix.orgemily I've been wondering if we should have a useful xcode-select in stdenv21:24:21
@reckenrode:matrix.orgRandy EckenrodeMaybe for 26.05. People might get cranky about it in impure dev shells though.23:41:55
17 Oct 2025
@samasaur:matrix.orgsamasaurhttps://github.com/NixOS/nixpkgs/pull/45281204:31:39
@cve:entropia.de@cve:entropia.de changed their display name from cve (she/they) to cve.05:30:27
@kumavis_gh:matrix.orgkumavis joined the room.07:26:10
@ihar.hrachyshka:matrix.orgIhar Hrachyshkawhat's the latest with app linking / copying? I bumped nix-darwin and hm; I see a symlink under ~/Applications/Home Manager Apps. Spotlight doesn't show the apps. do we still have to copy apps with a custom module, like in Randy's nix config as before?15:08:18
@samasaur:matrix.orgsamasaurapps are copied in nix-darwin but still linked in HM15:08:36
@samasaur:matrix.orgsamasaurI'm not sure if anyone is actively working on making copying the default in HM as well15:09:04
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaah. I don't really use nix-darwin for package management, so it's not too helpful. thought it was tackled for both. :( thanks for the confirmation.15:11:15
@samasaur:matrix.orgsamasaurI think we have pretty universally come to consensus that copying is the best option by default, so I suspect HM would be open to a PR. I just think nobody has had the combination of time and desire to do so15:12:45
@weethet:catgirl.cloudWeetHet I've rewritten my module to link contents and it seems to work fine with spotlight 15:27:34
@weethet:catgirl.cloudWeetHet I copy the icon specifically 15:27:55
@samasaur:matrix.orgsamasaur by "link contents" do you mean there's a real .app folder under /Applications but the contents are linked from the store? 15:28:14
@weethet:catgirl.cloudWeetHetI create all subfolders by hand and then link files15:28:40
@weethet:catgirl.cloudWeetHetYeah15:28:42
@samasaur:matrix.orgsamasaurgotcha15:28:46
@samasaur:matrix.orgsamasaurI think that is known to work for Spotlight but exhibits other issues15:28:58
@samasaur:matrix.orgsamasaurnot to say that tradeoff isn't worth it for you, but I believe we considered it as the default and decided against it15:29:19
@ecco256:matrix.orgErik Wish we could mount —bind on macOS 15:29:42
@weethet:catgirl.cloudWeetHetI wish we had firmlinks15:30:11
@spewdins:beeper.comspewdinsI wish macOS didn’t have SIP15:31:54
@spewdins:beeper.comspewdins/s15:31:58

Show newer messages


Back to Room ListRoom Version: 6