!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1162 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
5 Oct 2025
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please)Home Manager is not foun01:08:17
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please)* Home Manager is not found01:08:20
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please)I’m using the Determinate Nix installer btw, except I set it to upstream Nix01:15:12
@reckenrode:matrix.orgRandy EckenrodeNo other errors when switching to the config?01:15:54
@reckenrode:matrix.orgRandy Eckenrode * 01:16:03
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please) Only when running sudo darwin-rebuild switch do I see:
warning: $HOME ('/Users/rocky') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
warning: $HOME ('/Users/rocky') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
01:19:45
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please)Without sudo is fine01:20:00
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please) Ooh, okay here we go on nix flake update:
error: flake 'git+file:///Users/rocky/Sync/projects/dotfiles' has an unsupported attribute 'templates', at /nix/store/kcmwfn4arh3xfcpxlhq0rwag44ppm4zn-source/flake.nix:36:3
03:26:01
@pink_rocky:tchncs.derocky ((Ξ»πŸ’.πŸ’)πŸ’) (she/they; ask before DM please)I fixed the issue that caused that, but that’s not why there aren’t any packages showing up05:04:29
@eureka-cpu:matrix.orgeureka-cpu

Hello, I'm running into some issues with the linux-builder. It used to work before so I'm not sure what's changed to cause it to no longer work. At first I was getting SSL certificate errors, so I just updated, but now it's giving errors like this one:

$ nix build .\#checks.aarch64-darwin.metrics-vm -L                                                                                                      [15:49:53]
error: build of '/nix/store/3dsv0bsqdkyimhgps17hc2i1jcprbr00-mounts.sh.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/hn33w58pmmlq8p98qphsxil6z0plrnx6-users-groups.json.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/ma7kij34drcmabxig73g8rkbyk4gv8qc-blutgang-authorized_keys.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/wlhfx38x0nsz47wjfikkcib1x32b9lwh-builder.pl.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/km4cah54y622l4mr8g94hw7df6svpxrr-etc-bash_logout.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/qcdlb6g7biqfxjgaknxrrh9m8hrjrd4z-etc-dhcpcd.exit-hook.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/cg610g1zykn1fvp6687m8p0vaymra4v4-etc-fstab.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/azkw64wjxqwqb0isd0sg3rc26hy7iq0c-etc-fuse.conf.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/lcq2wqvg2bjh43fbjwihi06pdcigkxny-etc-gai.conf.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/pfi36bgwlywks28qw52ax97m18ny5jqk-etc-host.conf.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/70rjmfwbnj7v5df4id3bqpmx0qcdg5zx-etc-hostname.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/96rnbrimski7f8band1hxrpxljdw0czw-etc-lsb-release.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/7vhr1zx7jhjrry5wj3722r2jlj76s10s-etc-lvm-lvm.conf.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/ig636ycjn95b6lxmqq718y7vvapm5khl-etc-man_db.conf.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/n64isf3a3s5mqi49vlfgf1215cfdzyjb-etc-modprobe.d-nixos.conf.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: build of '/nix/store/w8wslm0fbhxqyzb6finnl224jdxb6q3p-etc-netgroup.drv' on 'ssh-ng://builder@linux-builder' failed: error:
              … while setting up the build environment

              error: getting attributes of path '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh': No such file or directory
error: Cannot build '/nix/store/ma7kij34drcmabxig73g8rkbyk4gv8qc-blutgang-authorized_keys.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/04s9bq4947vv9i5n16p58kvza3i723wx-blutgang-authorized_keys
error: Cannot build '/nix/store/wlhfx38x0nsz47wjfikkcib1x32b9lwh-builder.pl.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/7kil067h9gpd0k78s4lkwfdx6xijk4ax-builder.pl
error: Cannot build '/nix/store/n64isf3a3s5mqi49vlfgf1215cfdzyjb-etc-modprobe.d-nixos.conf.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/h1x139bkpgsz6pkax2dg9lvlj6ikndxj-etc-modprobe.d-nixos.conf
error: Cannot build '/nix/store/3dsv0bsqdkyimhgps17hc2i1jcprbr00-mounts.sh.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/h3c9hlf7hm2hiz0p6l14jjfpdcdjwjx6-mounts.sh
error: Cannot build '/nix/store/mxkdr9jqf3ag19l0bibjpv374vpv6352-initrd-linux-6.12.41.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/3g4ca7xvk7ybzwkc2g8asj2xin2dknpf-initrd-linux-6.12.41
error: Cannot build '/nix/store/p5wprnf0zvd2hvdmvlms86zhdfyi9dg1-nixos-system-blutgang-metrics-25.11.20250812.005433b.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/rds5px2rsi5fh6k1yvzd11n634mxxn7m-nixos-system-blutgang-metrics-25.11.20250812.005433b
error: Cannot build '/nix/store/2z2f6dzcpm4hcxg3b9wn9jqg0dmcn0i5-nixos-vm.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/3i5kiwrc37217y11dqxa26ha4z7imwmb-nixos-vm
FAIL

This is a qemu vm built for aarch64-linux on aarch64-darwin

22:55:47
@eureka-cpu:matrix.orgeureka-cpu

Here's some other info about my system if it helps:

MacOS 13.5.2 (22G91)
nix (Nix) 2.31.2

Here's my configuration: github.com/eureka-cpu/nix-darwin

23:01:09
@eureka-cpu:matrix.orgeureka-cpu

Here is a link to the configuration I am trying to build for, and the command I ran:
https://github.com/rainshowerLabs/blutgang/pull/97

nix build .#checks.aarch64-darwin.metrics-vm

23:03:00
@eureka-cpu:matrix.orgeureka-cpuOkay, I've found some missing/corrupted store paths, maybe that was it...23:25:30
@eureka-cpu:matrix.orgeureka-cpunope ):23:30:03
6 Oct 2025
@eureka-cpu:matrix.orgeureka-cpu

I added these settings which seem to have helped so far:

{
  nix.linux-builder = {
    enable = true;
    ephemeral = true;
    maxJobs = 4;
    config = {
      virtualisation = {
        darwin-builder = {
          diskSize = 40 * 1024;
          memorySize = 8 * 1024;
        };
        cores = 6;
      };
    };
  };
}
04:45:03
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeIs today we update clang in nixpkgs?12:45:50
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoehttps://github.com/NixOS/nixpkgs/pull/44912012:45:52
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeMany npm projects, if they include @vscode/vsce (including nix dependencies, or dependencies in package.json), will indirectly rely on keytar(which has been abandoned for many yearsοΌ‰ and then rely on old version of node-addon-api , and then npm installation will fail.12:48:32
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeWhat I want to ask is, without modifying the dependencies, can we modify the compilation options of CC to bypass this c++ compiler check?12:50:13
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe For example, gemini-cli is a monorepo project and include @vscode/vsce in it's sub project. So in nixpkgs's master branch, gemini-cli build fails. 12:52:05
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe * For example, gemini-cli is a monorepo project and include @vscode/vsce in it's sub project. So in nixpkgs's master branch, gemini-cli build fails. 12:55:10
@reckenrode:matrix.orgRandy Eckenrode

I’m not sure, but I don’t think so. Clang had that as a warning since Clang 16, and now it is a hard error since Clang 20.

https://releases.llvm.org/20.1.0/tools/clang/docs/ReleaseNotes.html#c-specific-potentially-breaking-changes

13:07:19
@reckenrode:matrix.orgRandy Eckenrode(Not sure as in I’m not sure if this is the same enum issue. There was a new one in Clang 21 that broke Boost IIRC.)13:08:34
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeLet me binary search which PR introduced this problem.13:50:01
@k900:0upti.meK900You're going to bisect into staging13:53:12
@k900:0upti.meK900And then rebuild the world like 10 million times13:53:20
@k900:0upti.meK900It's very likely just the Clang update13:53:26
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoehttps://github.com/NixOS/nixpkgs/commit/54ae3fdcd9b6e7392a1eba8294d45ed547553c5c13:57:10
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoeThis PR13:57:15
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoehttps://github.com/NixOS/nixpkgs/commits/master/?before=87dcec121dc79683b43c35269e867a3d035c4e79+73513:57:38

Show newer messages


Back to Room ListRoom Version: 6