!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
7 Apr 2026
@reckenrode:matrix.orgRandy Eckenrode system_cmds doesn’t really need libdispatch’s private headers. The APIs it uses are actually in the public headers. I’ll have to vendor the header for now to make this a no-rebuild transition (to separate the source releases from the SDK). 02:07:32
@esperlily:matrix.orgEsperLily [she/her] does using a newer apple-sdk package require actually being on that OS to build? the nixpkgs darwin docs don't actually say (and I'm already on macOS 26 or I'd just test) 02:56:09
@reckenrode:matrix.orgRandy EckenrodeIt shouldn’t as long as you don’t increase the default deployment target. Clang is set up by default to error when APIs are used from a newer deployment target without putting them in an availability check.03:01:58
@esperlily:matrix.orgEsperLily [she/her]ok so why do we default to an older SDK then?03:07:26
@reckenrode:matrix.orgRandy EckenrodeThe Clang change is a trial run for having only the latest SDK.04:08:03
@reckenrode:matrix.orgRandy EckenrodeThere are some other concerns (building Swift, source incompatibility in newer SDKs, etc), but availability checks were the big one. We currently default to the 14.4 SDK with a 14.0 deployment target. It seems okay so far.04:11:04
@insipx:matrix.orginsipx joined the room.14:21:41
@viraptor:tchncs.deviraptorThis is not Mac specific, but clang will hit us way more often with this. Somehow I ran into two packages now which use -fmodules which causes writes to $home/.cache I wonder if that would warrant a fix in some generic builder to set CLANG_MODULE_CACHE_PATH to a different path. We're only going to hit that one more often in the future.15:55:55
@emilazy:matrix.orgemily yes, I think we should likely set that in stdenv 15:58:50
@reckenrode:matrix.orgRandy Eckenrode emily, did you want to take a look at https://github.com/NixOS/nixpkgs/pull/507136 before I merge it later today? 16:04:11
@reckenrode:matrix.orgRandy EckenrodeThis is part 1 of separating the source releases from the SDK versions, so we can do SDK bumps as soon as they happen.16:04:48
@emilazy:matrix.orgemilywill try to take a look later, but I'm ok not being blocked on17:08:48
@emilazy:matrix.orgemilybtw haskell room did say the GHC thing can be dropped17:08:54
@reckenrode:matrix.orgRandy EckenrodeI’ll probably leave it since the PR does have one approval already.17:11:02
@reckenrode:matrix.orgRandy Eckenrode I have considered a few possibilities, but I think what I am going to do is move the sourceRelease function to darwin and refactor mkAppleDerivation to use it. 22:19:02
@reckenrode:matrix.orgRandy EckenrodeThat avoids polluting the package set with unbuildable packages.22:19:39
@reckenrode:matrix.orgRandy Eckenrode It can’t be internal because there’s at least one package outside of the darwin package set that needs access to it. 22:20:27
8 Apr 2026
@reckenrode:matrix.orgRandy Eckenrode I updated https://github.com/NixOS/nixpkgs/pull/506470 after I merged the by-name migration. 00:22:25
@rbutoi:matrix.orgradu242 joined the room.01:55:10
@ankarhem:matrix.internetfeno.menankarhemanyone had issues with fish shell lately? Cannot enter fish after rebuilding. I think it’s the same as this: https://github.com/NixOS/nixpkgs/issues/50753110:58:17
@reckenrode:matrix.orgRandy EckenrodeMaybe related? https://github.com/NixOS/nixpkgs/issues/208951#issuecomment-419555937510:59:34
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nix/issues/6065#issuecomment-420307992211:00:04
@emilazy:matrix.orgemily this seems confused. since nix-build --check clobbers signatures by itself. 11:06:59
@ankarhem:matrix.internetfeno.menankarhem Idk I know nothing about this but maybe?

ankarhem@mbp:~/ > codesign -vvv --verify $(which fish)
/etc/profiles/per-user/ankarhem/bin/fish: invalid signature (code or signature have been modified)
In architecture: arm64
11:07:40
@emilazy:matrix.orgemilyand then the fix is a dreadful layering violation that probably has nothing to do with the fish thing.11:07:40
@emilazy:matrix.orgemilyif it "fixes" the transient Hydra code signing issues then it's just going to fix them because rebuilds usually fix them11:08:11
@emilazy:matrix.orgemilyleft a comment on the PR for Claude to read 🙃11:13:06
@ankarhem:matrix.internetfeno.menankarhemSo should i just disable fish -> clean store -> rebuild until it works?11:19:03
@emilazy:matrix.orgemilynah, you'll pick up the broken build from Hydra :/11:28:25
@emilazy:matrix.orgemilywhat will probably work is making a trivial change to fish in Nixpkgs11:28:37

Show newer messages


Back to Room ListRoom Version: 6