!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
6 Mar 2026
@samasaur:matrix.orgsamasaura common issue is not including the parentheses, you need them in a list17:26:11
@ragdoc:matrix.orgragdocHere we go: outputs = inputs@{ self, nix-darwin, ... }: let # myp = { pkgs, ... }: pkgs.callPackage ./package.nix { }; configuration = { pkgs, ... }: { # List packages installed in system profile. To search by name, run: # nix-env -qaP | grep wget environment = { systemPackages = with pkgs; [ # myp (callPackage ./package.nix { inherit pkgs; }) aerc ... more packages follow ...17:48:35
@ragdoc:matrix.orgragdocThe "myp" lines are remnants of using a different syntax.17:49:12
@ragdoc:matrix.orgragdoc Not sure about Matrix etiquette, should I mention samasaur ? 17:56:36
@samasaur:matrix.orgsamasaurnot sure about general etiquette but I don't mind :)18:00:29
@samasaur:matrix.orgsamasaurThat syntax looks right to me, im not sure why you're getting that error18:01:21
@ragdoc:matrix.orgragdocI think I'll need to get some rest and look at things with a fresh mind. Over the last few days, I was surprised by nix-darwin not reacting identically to NixOS, and I kept trying different things on different platforms to see if I could figure out the details. I can't rule out that I screwed something up with the package.nix file during these experiments. Long shot maybe, but who knows?18:05:16
@alexfmpe:matrix.orgalexfmpeah, indeed18:24:26
@alexfmpe:matrix.orgalexfmpethanks18:24:33
@ctheune:matrix.flyingcircus.ioTheuni changed their display name from Christian Theune to Theuni.19:58:12
7 Mar 2026
@alexfmpe:matrix.orgalexfmpethere we go: https://github.com/NixOS/nixpkgs/pull/49742402:30:01
@copumpkin:matrix.orgcopumpkinhow's the Darwin Nix sandbox these days?23:22:42
8 Mar 2026
@reckenrode:matrix.orgRandy EckenrodeIIRC it still comes with caveats.01:25:22
@reckenrode:matrix.orgRandy Eckenrodehttps://gist.github.com/milseman/dcb166afbc623bf414f1aad1f417646a01:25:25
@reckenrode:matrix.orgRandy EckenrodeDarwin apparently has some interesting filesystem paths.01:25:36
@reckenrode:matrix.orgRandy Eckenrode e.g., if you ls /.nofollow/etc/, it fails because /etc is a symlink to /private/etc. 01:27:42
@antifuchs:asf.computerantifuchs…fascinating02:09:40
@bestlem:matrix.orgbestlemFor some more info on that https://developer.apple.com/forums/thread/798402?page=208:59:07
@reckenrode:matrix.orgRandy EckenrodeAlso https://forums.swift.org/t/pitch-add-filepath-to-the-standard-library/84812, which is where it came up.11:01:31
@reckenrode:matrix.orgRandy Eckenrode * 11:03:00
@ragdoc:matrix.orgragdocDo you guys expect nix-darwin to work with the Notebook Neo? The instruction set of its A18 pro should be close enough to the M chips', correct?11:56:42
@reckenrode:matrix.orgRandy EckenrodeIf Apple releases a Mac that doesn’t support existing applications, they really messed up.11:57:23
@reckenrode:matrix.orgRandy EckenrodeSo I’d expect it to work unless Apple uses it to introduce some new hardening feature to macOS that breaks Nix.11:57:53
@reckenrode:matrix.orgRandy EckenrodeLike making the user experience more like iOS, but I highly doubt that.11:58:18
@toonn:matrix.orgtoonn I wonder more about Asahi compatibility. 11:59:35
@ragdoc:matrix.orgragdocI also wonder if building nix-darwin packages will work well enough, what with the 8 GB unified RAM limit and reduced CPU oomph. I don't expect nix-darwin to cache pre-built stuff for the Neo.12:00:34
@reckenrode:matrix.orgRandy Eckenrodenix-darwin won’t know. We don’t build CPU-specific packages.12:01:56
@reckenrode:matrix.orgRandy EckenrodeRebuilds (especially of bigger packages) will suck though.12:02:13
@reckenrode:matrix.orgRandy Eckenrode(Other than instruction sets. We tune for M1.)12:02:29
@reckenrode:matrix.orgRandy Eckenrode * 12:02:51

Show newer messages


Back to Room ListRoom Version: 6