!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1202 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
20 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeI assumed it was because of the multi-merge branch I’m on that is rebased on master and staging.17:23:31
@reckenrode:matrix.orgRandy EckenrodeI find which commit has those changes, split them out, then drop them.17:23:53
@sarahec:matrix.orgSarah Clark I do have staging-next as one of my branches 17:24:01
@sarahec:matrix.orgSarah ClarkIs there a straightforward way of doing this? 17:24:39
@reckenrode:matrix.orgRandy Eckenrode Unfortunately, no. You my have some luck finding the Git commit doing git log <path to xxHash> then looking up the change id from that. 17:25:55
@reckenrode:matrix.orgRandy Eckenrode * Unfortunately, no. You might have some luck finding the Git commit doing git log <path to xxHash> then looking up the change id from that. 17:26:02
@sarahec:matrix.orgSarah ClarkFound it. Appreciate the help.18:20:58
21 Apr 2026
@reckenrode:matrix.orgRandy Eckenrodehttps://www.apple.com/newsroom/2026/04/tim-cook-to-become-apple-executive-chairman-john-ternus-to-become-apple-ceo/02:21:12
@theutz:matrix.orgtheutz As someone who hasn’t watched Apple under politics for awhile, I am curious what people think this means for the future of Apple. 05:26:06
@weethet:catgirl.cloudWeetHetDoes swift-testing not work on darwin without xctest?09:12:53
@weethet:catgirl.cloudWeetHet And also swift-corelibs-xctest? 09:13:48
@reckenrode:matrix.orgRandy EckenrodeTesting depends on Xcode stuff, so neither work, but they at least will build and link.10:32:15
@reckenrode:matrix.orgRandy EckenrodeIt may be possible to modify them to work like Linux does but on Darwin, but it’s a non-trivial change, and I don’t think upstream would accept it.10:55:49
@reckenrode:matrix.orgRandy Eckenrode * 10:56:04
@reckenrode:matrix.orgRandy Eckenrode * 10:56:16
@insipx:matrix.orginsipxhere's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100 would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages14:30:21
@insipx:matrix.orginsipx * here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100 would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible 14:31:30
@insipx:matrix.orginsipx * here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100 would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible 14:31:39
@insipx:matrix.orginsipx * here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100 would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible 14:31:53
@insipx:matrix.orginsipx * here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100 would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible. overall some of the changes to compiler-rt/gnugrep feel hacky but not sure of an alternate path 14:38:02
@insipx:matrix.orginsipx * here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100 would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages. I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible. overall some of the changes to compiler-rt/gnugrep feel hacky but not sure of an alternate path 14:41:32
@insipx:matrix.orginsipx *

here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100

would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages.

I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible. overall some of the changes to compiler-rt/gnugrep feel hacky but not sure of an alternate path

14:49:55
@insipx:matrix.orginsipx *

here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100

would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages.

I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible. overall some of the changes to compiler-rt/gnugrep feel hacky but not sure of an alternate path. seems nix eval doesn't like the hardcoded path to xcode so something i gotta redo

16:40:39
@insipx:matrix.orginsipx *

here's my attempt at iOS Cross Compilation: https://github.com/NixOS/nixpkgs/pull/512100

would love feedback on if i'm going in the right direction. haven't started on any "prebuilt" stuff, but with that stack i'm able to cross-compile all libxmtp ios libraries for x86_64-darwin,aarch64-darwin, and iphone64 + iphone64-simulator targets using xcode 26.3. I wasn't able to get all of propagate-inputs.nix working for the cross compile but that's what i'm currently working through to see if it results in less churn upstream of the package changes. so far getting that working looks like it may require some small hacky-ish patches to libresolv and copyfile packages.

I'm lucky to have two M1 Macbook Pros to use as remote builders to churn through these builds, but they still take 2-8 hours depending on how deep in the stack the change is so wanted to come for some early feedback if possible. overall some of the changes to compiler-rt/gnugrep feel hacky but not sure of an alternate path. seems nix eval doesn't like the hardcoded path to xcode so something i gotta fix

17:53:58
22 Apr 2026
@spore:mozilla.orgSporeRedacted or Malformed Event08:33:25
@nasso:matrix.orgnasso idk if i did an oopsie but i have 2 users on my machine and sometimes i can't darwin-rebuild switch from one of them (something something "need permissions to update applications" something something "if you didn't get a notification go to settings -> privacy & security -> ...")

like, i dont get the notification, and the system settings seem fine...

...but then i switched to the other user and... oh! a notification! ...what?? and i can darwin-rebuild switch from that other user....

is this a known/common issue?
09:48:49
@nasso:matrix.orgnasso it only happens sometimes for some reason 09:48:59
@nasso:matrix.orgnasso things that might be relevant idk:
  1. im using home-manager

  2. each user has user-specific apps (in their respective ~/Applications) defined with home-manager

  3. im using tmux from ghostty, so i thought it was related to that, but i had the same issue when i tried running darwin-rebuild switch outside of tmux in Terminal.app so i dont think it is tmux' fault this time

  4. both users are admin

  5. each user cannot normally access the other user's ~/Applications, but because darwin-rebuild is being run with sudo, it shouldn't matter (...right?)

  6. the user for which it worked (the one for which the notification appeared) happens to be the first user i had created when setting up macOS. coincidence? maybe...

09:53:04
@nasso:matrix.orgnasso things that might be relevant idk:
  1. im using home-manager

  2. each user has user-specific apps (in their respective ~/Applications) defined with home-manager

  3. im using tmux & ghostty, so i thought it was related to that, but i had the same issue when i tried running darwin-rebuild switch outside of tmux in Terminal.app so i dont think it is tmux' fault this time

  4. both users are admin

  5. each user cannot normally access the other user's ~/Applications, but because darwin-rebuild is being run with sudo, it shouldn't matter (...right?)

  6. the user for which it worked (the one for which the notification appeared) happens to be the first user i had created when setting up macOS. coincidence? maybe...

09:53:19
@ragnar:ragnaroek28.deRagnar joined the room.11:50:30

Show newer messages


Back to Room ListRoom Version: 6