!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
27 Apr 2026
@spewdins:beeper.comspewdins nixpkgs's zsh 5.9 takes a very long time (or just straight up hangs) when I try using nixpkgs zsh on macOS 01:10:46
@samasaur:matrix.orgsamasaurperhaps https://github.com/NixOS/nixpkgs/issues/513543 ?01:11:22
@spewdins:beeper.comspewdinsseems about right01:11:51
@nazarewk:matrix.orgkdnRedacted or Malformed Event09:38:55
@mall0c:matrix.orgmall0cwow there’s already a fix for zsh issue, https://github.com/NixOS/nixpkgs/pull/51397111:48:43
@ninja:worldethicaldataforum.orgNinja joined the room.14:32:55
@emilio-ak:matrix.orgEmilioAK joined the room.16:07:42
@emilio-ak:matrix.orgEmilioAK I've installed fish, but for some reason there seems to be a path issue only in fish. sudo darwin-rebuild doesn't work while sudo /run/current-system/sw/bin/darwin-rebuild does, though this issue isn't present in zsh. What could be the cause of this? 16:11:16
@samasaur:matrix.orgsamasaur set programs.fish.enable = true in your nix-darwin and home-manager config 16:12:14
@samasaur:matrix.orgsamasaur(whichever applicable)16:12:27
@samasaur:matrix.orgsamasaurbash and zsh default to enabled but fish does not16:12:51
@emilio-ak:matrix.orgEmilioAKThat was already set for me. Also relevant is that I activate fish though ghostty, I haven't set it as my default shell16:13:45
@samasaur:matrix.orgsamasaurif you aren't using either then I'm not sure16:13:46
@samasaur:matrix.orgsamasauroh huh16:13:57
@emilio-ak:matrix.orgEmilioAKI mean you shouldn't set fish as the default right? Since it's not posix compliant I mean?16:14:16
@reckenrode:matrix.orgRandy Eckenrode I set it as the default shell. POSIX scripts that care use /bin/sh or /bin/bash (or the appropriate store paths). 16:15:45
@reckenrode:matrix.orgRandy Eckenrode * I set it as the default shell. Scripts use /bin/sh or /bin/bash (or the appropriate store paths). 16:15:56
@reckenrode:matrix.orgRandy Eckenrode Something that does whatever with $SHELL may have trouble, but things I care about know about Fish. 16:16:20
@emilio-ak:matrix.orgEmilioAKMy dotfiles are here in case anyone wants to look https://github.com/EmilioAK/dotfiles16:17:28
@emilio-ak:matrix.orgEmilioAK

I'll also note that I installed fish though homebrew here, but since I did set these it should still inject the correct path no?

programs.fish.enable = true;
programs.fish.useBabelfish = true;
16:18:25
@insipx:matrix.orginsipx check what which fish returns. i've had issues in the past of using homebrew paths when nix should have been usedf. 16:20:10
@insipx:matrix.orginsipx * check what which fish returns. i've had issues in the past of using homebrew paths when nix should have been used. 16:20:15
@emilio-ak:matrix.orgEmilioAK /opt/homebrew/bin/fish as expected 16:21:10
@emilio-ak:matrix.orgEmilioAK Maybe launching fish with /opt/homebrew/bin/fish --login doesn't use the injected path from nix? Trying to look into it 16:22:06
@emilazy:matrix.orgemilyit's expected that you use Nixpkgs fish16:28:39
@emilio-ak:matrix.orgEmilioAK I'm also trying this, but with this approach what's the intended way to launch the shell? /run/current-system/sw/bin/fish doesn't seem to work for me 16:51:35
@samasaur:matrix.orgsamasaur elaborate? what are you seeing when you say "doesn't seem to work for me"? 17:00:16
@reckenrode:matrix.orgRandy EckenrodeIs this the code-signing issue?17:01:13
@emilio-ak:matrix.orgEmilioAKScreenshot 2026-04-27 at 20.15.08.png
Download Screenshot 2026-04-27 at 20.15.08.png
18:15:16
@emilio-ak:matrix.orgEmilioAK So I'm not sure where to begin here. I'm trying to switch to fish now instead and that isn't working either. I have it set in my nix file, but after trying to do chsh -s /run/current-system/sw/bin/fish nothing happens, and /etc/shells looks empty? Not sure what could be going wrong here 18:15:19

Show newer messages


Back to Room ListRoom Version: 6