Open peterstuart opened 3 years ago
I just encountered this. It went away when I changed:
nix.settings.allowed-users = [ "bohendo" ];
nix.settings.trusted-users = [ "bohendo" ];
to
nix.settings.allowed-users = [ "root" "bohendo" ];
nix.settings.trusted-users = [ "root" "bohendo" ];
in my configuration.nix
On my machine this appears to be related to https://github.com/NixOS/nixpkgs/issues/241559.
$ nix-store --store daemon -q --hash /nix/store/nzzzgjcc8568iyyja0vvv840hnka6l37-bash-5.2-p15/bin/bash
dyld[15372]: missing symbol called
Abort trap: 6
I'm seeing this same error, but adding "root" didn't seem to fix it. I'm wondering if anyone else has any other ideas
When I run
darwin-rebuild switch
, it loops forever on "waiting for nix-daemon":I see that this is happening here: https://github.com/LnL7/nix-darwin/blob/a7492a8c76dcc702d0a65cd820a5f9baa8702684/modules/nix/default.nix#L481 but I'm not familiar enough with nix to understand the purpose of that code.
If I try to run something similar manually using the path of
pkgs.stdenv.shell
:I get this output:
Any idea what is going wrong here? I'm seeing the issue on 2 Macs.