!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1152 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
19 Dec 2025
@sarahec:matrix.orgSarah Clark What does ulimit -Sn and ulimit -Hn show? 19:02:54
@sarahec:matrix.orgSarah Clark Also, what does lsof | wc -l say when you're not building? 19:03:50
@sarahec:matrix.orgSarah Clark (ulimit: soft and hard limits. lsof | wc -l list open files | count the lines 19:04:29
@sarahec:matrix.orgSarah Clark * (ulimit: soft and hard limits. lsof | wc -l list open files | count the lines) 19:05:26
20 Dec 2025
@reckenrode:matrix.orgRandy Eckenrode
$ nix build -f . swiftPackages.swiftpm
$ result/bin/swift-build --version
Swift Package Manager - Swift 6.2.3
01:23:05
@reckenrode:matrix.orgRandy EckenrodeI still need to sort out Swift Syntax, but I’m getting closer.01:23:15
@reckenrode:matrix.orgRandy Eckenrode
$ otool -L result/bin/swift-build
result/bin/swift-build:
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libCommands.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libCoreCommands.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/06fjqpj6vqc88a261f0aj47a3svdlq2q-swift-argument-parser-1.6.2/lib/libArgumentParser.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/4vwdky3jccihda9ds132pbxg72vjr9gl-swift-build-6.2.3-lib/lib/libSwiftBuild.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/4vwdky3jccihda9ds132pbxg72vjr9gl-swift-build-6.2.3-lib/lib/libSWBBuildService.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libPackageModelSyntax.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libWorkspace.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/bbpscq3mikqc95s69ph8wskyqc7m7d8q-swift-crypto-4.2.0/lib/libCrypto.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/5hcnpjw2qn6s64svb4g8rf9axig5sm52-swift-asn1-1.5.1/lib/libSwiftASN1.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/50mhn9dgyxwghkpd2xfyz05x5rvp1q99-swift-certificates-1.17.0/lib/libX509.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libBuild.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libSPMBuildCore.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/y2hb2vn611s1y5kdz7i20v0f6i0h2nyl-swift-llbuild-6.2.3-lib/lib/libllbuildSwift.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libPackageGraph.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libPackageLoading.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libSourceControl.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libDriverSupport.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libPackageModel.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/libBasics.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/q3vn4amfr2icqy3ygkyfzgy5naabavi2-swift-collections-1.3.0/lib/libOrderedCollections.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/pqyia3ig6pv94zsbc78nhf6k3x0viakz-swiftpm-6.2.3/lib/lib_AsyncFileSystem.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/fa3hnihqbq4w958lc919r3mnzhqs5yl9-swift-tools-support-core-6.2.3/lib/libSwiftToolsSupport.dylib (compatibility version 0.0.0, current version 0.0.0)
	/nix/store/fjzm767k5l4ddfv73cl46k5c1dxpvbv8-swift-driver-6.2.3-lib/lib/libSwiftDriver.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 2000.63.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1356.0.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 4040.1.255, weak)
	/usr/lib/swift/libswiftCore.dylib (compatibility version 1.0.0, current version 0.0.0)
	/usr/lib/swift/libswiftCoreFoundation.dylib (compatibility version 1.0.0, current version 120.100.0, weak)
	/usr/lib/swift/libswiftDarwin.dylib (compatibility version 1.0.0, current version 347.0.12, weak)
	/usr/lib/swift/libswiftDispatch.dylib (compatibility version 1.0.0, current version 56.0.0, weak)
	/usr/lib/swift/libswiftIOKit.dylib (compatibility version 1.0.0, current version 1.0.0, weak)
	/usr/lib/swift/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 950.0.0, weak)
	/usr/lib/swift/libswiftXPC.dylib (compatibility version 1.0.0, current version 105.0.14, weak)
	/usr/lib/swift/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0)
	/usr/lib/swift/libswiftos.dylib (compatibility version 1.0.0, current version 1076.0.0, weak)
01:24:23
@reckenrode:matrix.orgRandy EckenrodeWhat I’d like to do is build Swift Syntax separately and relink the compiler against it (or actually copy the dylibs out of the compiler and relink it).01:26:43
@reckenrode:matrix.orgRandy Eckenrode * 01:26:51
@reckenrode:matrix.orgRandy EckenrodeThe goal is to have everything in its own package.01:27:10
@nadia:nhp.shNadia is there a way to get rid of all the warning: unhandled Platform key FamilyDisplayName spam from nixpkgs's compilers? (Or is it some weird issue with my setup that's causing those?) 17:52:53
@samasaur:matrix.orgsamasaurI think Randy has a PR up that fixes that issue17:53:14
@nadia:nhp.shNadiaah alright17:54:30
@emilazy:matrix.orgemilyjust merged it, sorry for the delay :)18:26:39
@emilazy:matrix.orgemily but staging, so… 18:26:45
@emilazy:matrix.orgemily Randy Eckenrode: did a review pass on your open PRs, lmk if I missed any important pending Darwin thing from someone else 18:47:15
@reckenrode:matrix.orgRandy EckenrodeThanks. I left a few comments. I’ll respond more fully to the Darwin stdenv cleanup later tonight. I think we’re going to have to decide what trade-off we want to make because that’s just the nature of the overlay-based approach to bootstrapping we use.21:59:08
@reckenrode:matrix.orgRandy Eckenrode Maybe if we overlaid the previous stage as the buildPackages, it would be cleaner. That’s way outside the scope of this PR. 21:59:53
@reckenrode:matrix.orgRandy Eckenrode I also want to land ‘Darwin is useLLVM’ first. 22:00:13
21 Dec 2025
@reckenrode:matrix.orgRandy EckenrodeI pushed a commit using the second approach you suggested. The first one didn’t work.01:40:14
@reckenrode:matrix.orgRandy EckenrodeDarwin appears to be very broken on staging.18:36:59
@k900:0upti.meK900staging or next?18:38:27
@reckenrode:matrix.orgRandy EckenrodeStaging, though it appears pkgconf got bit by the code signature bug.18:38:53
@reckenrode:matrix.orgRandy Eckenrodesigtool is failing to build, but I don’t know whether that’s related. I’m going to fix the signature and see if those things build.18:39:30
@reckenrode:matrix.orgRandy Eckenrode
$ /usr/bin/codesign -vv -f /nix/store/wval0a2ldkb3vxahmpydaqbvsmsxshzj-pkgconf-2.4.3/bin/pkgconf
/nix/store/wval0a2ldkb3vxahmpydaqbvsmsxshzj-pkgconf-2.4.3/bin/pkgconf: invalid signature (code or signature have been modified)
In architecture: arm64
18:40:46
@reckenrode:matrix.orgRandy EckenrodeYeah, fixing the signature worked. That’s really annoying.18:41:28
@reckenrode:matrix.orgRandy EckenrodeI hope switching to LLD will fix that, but switching is non-trivial.18:41:44
@crushing-smite:matrix.orgcrushing-smiteCopying from main nixos channel: 18:47:01
@crushing-smite:matrix.orgcrushing-smite There's targets.darwin.linkApps which is enabled by default - yet I see no shortcuts created in app menu on mac
Does that mean I should use targets.darwin.copyApps instead?
Or am I holding it wrong
(it used to generate the shortcuts in the past)
18:47:17
@crushing-smite:matrix.orgcrushing-smiteReading this https://github.com/nix-darwin/nix-darwin/pull/1396 and this https://github.com/nix-community/home-manager/pull/8031 - my usecase is only app launcher, no spotlight, and I am okay with apps showing twice in dock/launcher - I can launch both and see which version is the newest, or I can garbage-collect in advance. With that said, what would be my preferred way to "install" the GUI apps then?18:59:02

Show newer messages


Back to Room ListRoom Version: 6