!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
19 Dec 2025
@emilazy:matrix.orgemilyhow many cores do you have?14:03:09
@nazarewk:matrix.orgkdnnot sure, it's Mac Mini M2, probably 1214:03:36
@emilazy:matrix.orgemilyalso what Nix are you using?14:03:54
@nazarewk:matrix.orgkdn nix (Lix, like Nix) 2.93.3 14:04:14
@emilazy:matrix.orgemily thanks. can you cat /Library/LaunchDaemons/org.nixos.nix-daemon.plist 14:04:43
@nazarewk:matrix.orgkdn
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>EnvironmentVariables</key>
	<dict>
		<key>NIX_SSL_CERT_FILE</key>
		<string>/etc/ssl/certs/ca-certificates.crt</string>
		<key>OBJC_DISABLE_INITIALIZE_FORK_SAFETY</key>
		<string>YES</string>
	</dict>
	<key>KeepAlive</key>
	<true/>
	<key>Label</key>
	<string>org.nixos.nix-daemon</string>
	<key>LowPriorityIO</key>
	<false/>
	<key>ProcessType</key>
	<string>Standard</string>
	<key>ProgramArguments</key>
	<array>
		<string>/bin/sh</string>
		<string>-c</string>
		<string>/bin/wait4path /nix/store &amp;&amp; exec /nix/store/wags9ajivrc1r24z9qx5glny5n8q5i4g-lix-2.93.3/bin/nix-daemon</string>
	</array>
	<key>SoftResourceLimits</key>
	<dict>
		<key>NumberOfFiles</key>
		<integer>1048576</integer>
	</dict>
</dict>
</plist>
14:09:00
@nazarewk:matrix.orgkdn I'm actually having build failures for version 2.94.0 (updating flake today) 14:09:36
@emilazy:matrix.orgemilyeverything looks to be in order. maybe the aiohttp package needs to limit parallelism for its test phase if it is using that many FDs14:10:55
@emilazy:matrix.orgemilywere you building many other packages at the same time?14:11:08
@nazarewk:matrix.orgkdn I think it was just aiohttp at the time, tried building the .drv file directly and didn't succeed until limiting cores 14:12:39
@nazarewk:matrix.orgkdn * I think it was just aiohttp at the time, tried building the .drv file directly and didn't succeed until limiting cores with envvar 14:12:47
@emilazy:matrix.orgemilymaybe open a Nixpkgs issue14:16:40
@sarahec:matrix.orgSarah Clark I was able to build with nix-build -A python3Packages.aiohttp --check and get the latest. M3 Max, no limit on cores 19:00:30
@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

Show newer messages


Back to Room ListRoom Version: 6