| 6 Mar 2026 |
samasaur | a common issue is not including the parentheses, you need them in a list | 17:26:11 |
ragdoc | Here 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 | The "myp" lines are remnants of using a different syntax. | 17:49:12 |
ragdoc | Not sure about Matrix etiquette, should I mention samasaur ? | 17:56:36 |
samasaur | not sure about general etiquette but I don't mind :) | 18:00:29 |
samasaur | That syntax looks right to me, im not sure why you're getting that error | 18:01:21 |
ragdoc | I 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 | ah, indeed | 18:24:26 |
alexfmpe | thanks | 18:24:33 |
| Theuni changed their display name from Christian Theune to Theuni. | 19:58:12 |
| 7 Mar 2026 |
alexfmpe | there we go: https://github.com/NixOS/nixpkgs/pull/497424 | 02:30:01 |
copumpkin | how's the Darwin Nix sandbox these days? | 23:22:42 |
| 8 Mar 2026 |
Randy Eckenrode | IIRC it still comes with caveats. | 01:25:22 |
Randy Eckenrode | https://gist.github.com/milseman/dcb166afbc623bf414f1aad1f417646a | 01:25:25 |
Randy Eckenrode | Darwin apparently has some interesting filesystem paths. | 01:25:36 |
Randy Eckenrode | e.g., if you ls /.nofollow/etc/, it fails because /etc is a symlink to /private/etc. | 01:27:42 |
antifuchs | …fascinating | 02:09:40 |
bestlem | For some more info on that https://developer.apple.com/forums/thread/798402?page=2 | 08:59:07 |
Randy Eckenrode | Also https://forums.swift.org/t/pitch-add-filepath-to-the-standard-library/84812, which is where it came up. | 11:01:31 |
Randy Eckenrode | * | 11:03:00 |
ragdoc | Do 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 |
Randy Eckenrode | If Apple releases a Mac that doesn’t support existing applications, they really messed up. | 11:57:23 |
Randy Eckenrode | So I’d expect it to work unless Apple uses it to introduce some new hardening feature to macOS that breaks Nix. | 11:57:53 |
Randy Eckenrode | Like making the user experience more like iOS, but I highly doubt that. | 11:58:18 |
toonn | I wonder more about Asahi compatibility. | 11:59:35 |
ragdoc | I 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 |
Randy Eckenrode | nix-darwin won’t know. We don’t build CPU-specific packages. | 12:01:56 |
Randy Eckenrode | Rebuilds (especially of bigger packages) will suck though. | 12:02:13 |
Randy Eckenrode | (Other than instruction sets. We tune for M1.) | 12:02:29 |
Randy Eckenrode | * | 12:02:51 |