!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1163 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
9 Oct 2025
@jasonxue_1:matrix.orgjasonxuehttps://github.com/nix-darwin/nix-darwin/issues/160615:10:10
@jasonxue_1:matrix.orgjasonxue

I can use it normally the day before yesterday, but when I run sudo darwin-rebuild switch yesterday, it failed and told me this message.

I try to reinstall nix and reinstall macOS. But it tells me the same.

My Mac is macOS 10.12, it’s MacBook pro 2016.

Here is the output:

jason@jason-MacBook-Pro:~/ > nix
dyld[1153]: Symbol not found: (__ZTVNSt3__13pmr25monotonic_buffer_resourceE)
  Referenced from: '/nix/store/y8v9ariyblm29ypgsq5i1vf8xsrfsm3q-nix-expr-2.31.2/lib/libnixexpr.dylib'
  Expected in: '/usr/lib/libc++.1.dylib'
zsh: abort      nix
jason@jason-MacBook-Pro:~/ > 

I need help, thanks.

I use Determinate and use upstream nix. When I uninstall nix Darwin, it’s normal.

Here is the output:

jason@jason-MacBook-Pro:~/ > sudo darwin-uninstaller

Uninstalling nix-darwin, this will:

    - remove /Applications/Nix Apps symlink
    - cleanup static /etc files
    - disable and remove all launchd services managed by nix-darwin
    - restore nix-daemon service from the Nix installer

Proceed? [y/n] y
setting up /Applications/Nix Apps...
setting up pam...
applying patches...
setting up /etc...
setting up launchd services...
removing service org.nixos.activate-system
removing service org.nixos.nix-daemon
restoring unmanaged Nix daemon...
configuring networking...
configuring application firewall...
Enabled allow signed built-in applications automatically 
Enabled allow signed downloaded applications automatically 
Stealth mode disabled 
configuring power...
setting up /Library/Fonts/Nix Fonts...
setting nvram variables...
dyld[1818]: Symbol not found: (__ZTVNSt3__13pmr25monotonic_buffer_resourceE)
  Referenced from: '/nix/store/y8v9ariyblm29ypgsq5i1vf8xsrfsm3q-nix-expr-2.31.2/lib/libnixexpr.dylib'
  Expected in: '/usr/lib/libc++.1.dylib'
/nix/store/ndhvyplkx8xgdxbqdwq5mbgfndhi3fm6-darwin-system-25.11/activate: line 311:  1818 Abort trap: 6              nix-channel --remove darwin
NOTE: the /run symlink will be removed on reboot

NOTE: The /nix/var/nix/profiles/system* profiles still exist and won't be garbage collected.

Done!

jason@jason-MacBook-Pro:~/ > nix
error: no subcommand specified
Try 'nix --help' for more information.
jason@jason-MacBook-Pro:~/ > nix-shell -p nix-info --run "nix-info -m"
warning: error: unable to download 'https://channels.nixos.org/flake-registry.json': Problem with the SSL CA cert (path? access rights?) (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt; using cached version
warning: error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixpkgs-unstable': Problem with the SSL CA cert (path? access rights?) (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt; using cached version
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - system: `"x86_64-darwin"`
 - host os: `Darwin 21.6.0, macOS 12.7.4`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.31.1`
 - nixpkgs: `/nix/store/q4dfpr4f7ydjhwcf6048ppyi22gqwdyd-source`

jason@jason-MacBook-Pro:~/ > 
15:10:26
@jasonxue_1:matrix.orgjasonxueVERY THANKS15:11:05
@reeve567:matrix.orgXwyRedacted or Malformed Event17:16:08
@reckenrode:matrix.orgRandy Eckenrode niklaskorz: Thanks for the review on the SDK bump. It’s stuck on some codeowners check. I’ll have to look at it later when I'm back at home. 17:22:50
@reckenrode:matrix.orgRandy Eckenrode(Unless someone has seen this and knows what the problem is.)17:23:13
@niklaskorz:matrix.orgniklaskorz It's likely related to the GitHub outage today 18:33:05
@niklaskorz:matrix.orgniklaskorz Many PR checks are failing 18:33:14
@ieda:matrix.org@ieda:matrix.orgall checks are passthru.tests today, it seems18:54:39
@ieda:matrix.org@ieda:matrix.orgtaking forever18:55:46
@samasaur:matrix.orgsamasaur oh by the way i did test out macros with swift 5.10. They fail with a missing CompilerPluginSupport module, which i was able to fix, but then the example macro package i was building failed with different errors. I do want to get macros working, but given that macros weren't introduced until 5.9 this has met my goals of "no more broken than before" and i think the PR is ready to review as is, especially considering this whole PR is kinda a stopgap until Randy's rework 19:49:33
@reckenrode:matrix.orgRandy EckenrodeI got macros working on my branch (since they’re required by Swift Testing), but it wasn’t pretty IIRC.19:51:04
@tavinator:matrix.orgtavinator joined the room.22:18:13
@reckenrode:matrix.orgRandy Eckenrode The Darwin SDK bump has been merged. The minimum supported version is now 14.0. The default SDK is 14.4. Use of older SDKs will throw. All packages using apple-sdk_11, apple-sdk_12, apple-sdk_13, and (most of) apple-sdk_14 have been cleaned up to use the default SDK. Swift currently throws, but is working on an update to Swift 5.10.1 that will fix it. 22:38:35
10 Oct 2025
@samasaur:matrix.orgsamasauroh, duh. macros won't work because they need swift-syntax, which needs a host swift at the time of building swift02:47:39
@samasaur:matrix.orgsamasaurin that case my PR really is done02:56:36
@ivy:faggot.shivyoml all my stuff on dariwn just broke03:46:53
@ivy:faggot.shivynothing is build rn oml03:48:48
@ivy:faggot.shivynothing is build is such poor english, so many things failing building03:51:40
@ivy:faggot.shivyokay something is clearly wrong07:44:36
@ivy:faggot.shivy i’m getting this error when building packages
 ../src/termprops.hh:434:36: error: 'to_chars' is unavailable: introduced in macOS 13.3
       >   434 |         if (auto [ptr, err] = std::to_chars(buf,
07:44:46
@ivy:faggot.shivyi’m on tahoe...07:44:53
@ivy:faggot.shivylike this is vte07:45:33
@ivy:faggot.shivybut why the hell07:45:38
@ivy:faggot.shivywhat has broken in stdenv for darwin07:48:23
@samasaur:matrix.orgsamasauruh just to check07:49:12
@samasaur:matrix.orgsamasaur a) what is your nixpkgs pointing to (what channel)
b) can you build pkgs.hello
07:49:38
@ivy:faggot.shivyyeah i can i can build lots of things just not vte for some reason07:50:47
@ivy:faggot.shivyi’m on unstable07:50:50
@ivy:faggot.shivynixpkgs-unstable07:50:52

Show newer messages


Back to Room ListRoom Version: 6