!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
12 Mar 2026
@redbunnyninja:matrix.orgredbunnyninjathanks, finally found it :D 09:19:40
@redbunnyninja:matrix.orgredbunnyninja yep i got this in there. i was just trying to figure out why i couldn't see things working in my fish shell that i have from homebrew. when i just started up fish from nix, it has /run/current-system/sw/bin in the PATH now. 09:20:42
@emilazy:matrix.orgemilyit does not look like we'd have to support cross to x86 on very many packages at all to make that work09:21:30
@redbunnyninja:matrix.orgredbunnyninja the nix installed fish doesn't have my other configured PATHs though. i wonder why it uses a different configuration then the one i have in ~/.config/fish/ 09:21:55
@samasaur:matrix.orgsamasaur where do you set your "other configured paths"? 09:22:36
@emilazy:matrix.orgemilyit should use your main configuration. it won't use /etc/paths.d though09:22:54
@redbunnyninja:matrix.orgredbunnyninja in various files under ~/.config/fish/ 09:22:57
@redbunnyninja:matrix.orgredbunnyninja like /Users/muyuser/miniconda3/condabin gets set in ~/.config/fish/conf.d/conda.fish 09:23:47
@samasaur:matrix.orgsamasaurthat... should get picked up by default, yeah09:24:19
@redbunnyninja:matrix.orgredbunnyninja and its also missing stuff like /Library/Apple/usr/bin which i honestly don't know where it comes from :D 09:24:53
@samasaur:matrix.orgsamasaurand you said running homebrew fish properly picks up your existing config?09:25:09
@redbunnyninja:matrix.orgredbunnyninjayep that works fine09:25:21
@redbunnyninja:matrix.orgredbunnyninjathats what i've been using so far09:25:30
@samasaur:matrix.orgsamasaureven post activating your nix-darwin config?09:25:44
@samasaur:matrix.orgsamasaurI'm wondering whether it's a (fish via nix issue) or a (fish with nix-darwin) issue09:26:17
@redbunnyninja:matrix.orgredbunnyninjanot exactly sure what you mean by "activating" here. i'm about 3 hours into nix over a span of 2 days :D 09:26:24
@redbunnyninja:matrix.orgredbunnyninjasome stuff nix fish picked up actually, like my pixi path. 09:27:13
@samasaur:matrix.orgsamasaur does it still work after you did sudo darwin-rebuild switch and got fish config files in /etc that point to the nix store 09:27:18
@samasaur:matrix.orgsamasauractually sorry I have to go to sleep but can try and debug this with you tomorrow (for me at least)09:28:36
@redbunnyninja:matrix.orgredbunnyninjanodice09:31:34
@redbunnyninja:matrix.orgredbunnyninja
╭─    /run/current-system/sw/bin ···········································································································································································   10:27:35 
╰─❮ ./fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish

╭─    /run/current-system/sw/bin ···········································································································································································   10:27:37 
╰─❯ cd /etc/nix-darwin

╭─    /etc/nix-darwin ······················································································································································································   10:28:00 
╰─❯ sudo darwin-rebuild switch
building the system configuration...
setting up /Applications/Nix Apps...
setting up pam...
applying patches...
setting up /etc...
user defaults...
setting up launchd services...
configuring networking...
configuring application firewall...
configuring power...
setting up /Library/Fonts/Nix Fonts...
setting nvram variables...
Homebrew bundle...
`brew bundle` complete! 0 Brewfile dependencies now installed.

╭─    /etc/nix-darwin ··············································································································································································  11s    10:28:15 
╰─❯ echo $PATH
/Users/myuser/.pixi/bin /Users/myuser/.toolbox/bin /Users/myuser/go/bin /opt/homebrew/sbin /opt/homebrew/bin /Applications/Ghostty.app/Contents/MacOS /Users/myuser/.nix-profile/bin /run/current-system/sw/bin /nix/var/nix/profiles/default/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/myuser/.local/bin /Users/myuser/.local/bin

╭─    /etc/nix-darwin ······················································································································································································   10:28:20 
╰─❯ echo "going back to homebrew fish"; exit
going back to homebrew fish

╭─    /run/current-system/sw/bin ································································································································································  1m 13s    10:28:50 
╰─❮ echo $PATH
/nix/var/nix/profiles/default/bin /Users/myuser/.pixi/bin /Users/myuser/.toolbox/bin /Users/myuser/go/bin /opt/homebrew/sbin /opt/homebrew/bin /Applications/Ghostty.app/Contents/MacOS /Users/myuser/miniconda3/condabin /usr/local/bin /System/Cryptexes/App/usr/bin /usr/bin /bin /usr/sbin /sbin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin /opt/pmk/env/global/bin /Library/Apple/usr/bin /Users/myuser/.local/bin /Users/myuser/.local/bin
09:31:42
@redbunnyninja:matrix.orgredbunnyninjagood night and thanks!09:31:50
@redbunnyninja:matrix.orgredbunnyninja *
╭─    /run/current-system/sw/bin ···········································································································································································   10:27:35 
╰─❮ ./fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish

╭─    /run/current-system/sw/bin ···········································································································································································   10:27:37 
╰─❯ cd /etc/nix-darwin

╭─    /etc/nix-darwin ······················································································································································································   10:28:00 
╰─❯ sudo darwin-rebuild switch
building the system configuration...
setting up /Applications/Nix Apps...
setting up pam...
applying patches...
setting up /etc...
user defaults...
setting up launchd services...
configuring networking...
configuring application firewall...
configuring power...
setting up /Library/Fonts/Nix Fonts...
setting nvram variables...
Homebrew bundle...
`brew bundle` complete! 0 Brewfile dependencies now installed.

╭─    /etc/nix-darwin ··············································································································································································  11s    10:28:15 
╰─❯ echo $PATH
/Users/myuser/.pixi/bin /Users/myuser/.toolbox/bin /Users/myuser/go/bin /opt/homebrew/sbin /opt/homebrew/bin /Applications/Ghostty.app/Contents/MacOS /Users/myuser/.nix-profile/bin /run/current-system/sw/bin /nix/var/nix/profiles/default/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Users/myuser/.local/bin /Users/myuser/.local/bin

╭─    /etc/nix-darwin ······················································································································································································   10:28:20 
╰─❯ echo "going back to homebrew fish"; exit
going back to homebrew fish

╭─    /run/current-system/sw/bin ································································································································································  1m 13s    10:28:50 
╰─❮ echo $PATH
/nix/var/nix/profiles/default/bin /Users/myuser/.pixi/bin /Users/myuser/go/bin /opt/homebrew/sbin /opt/homebrew/bin /Applications/Ghostty.app/Contents/MacOS /Users/myuser/miniconda3/condabin /usr/local/bin /System/Cryptexes/App/usr/bin /usr/bin /bin /usr/sbin /sbin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin /opt/pmk/env/global/bin /Library/Apple/usr/bin /Users/myuser/.local/bin /Users/myuser/.local/bin
09:33:22
@reckenrode:matrix.orgRandy EckenrodeUpstream seems to think it’s Apple’s problem to address.10:34:49
@reckenrode:matrix.orgRandy EckenrodeI’ve tried. You need to cross-compile Python for some reason, which isn’t supported on Darwin.10:35:40
@reckenrode:matrix.orgRandy Eckenrode26.05 will still be around for those who need Wine.10:35:44
@ragdoc:matrix.orgragdocRandom driveby report: Meddling with nix-darwin on a MacBook Neo for the first time. Nothing cruel and unusual so far. Lix installer worked without a hitch. The little box is generally quite responsive, currently chugging along building nodejs-slim-25.8.0 with six clang++ processes. Full CPU load, but no memory pressure. Not bad for 8 GB RAM and an iPhone processor. I like it.14:24:13
@redbunnyninja:matrix.orgredbunnyninja set a profile picture.14:29:43
@reckenrode:matrix.orgRandy EckenrodeIt’s a shame the RAM isn’t configurable.15:06:21
@reckenrode:matrix.orgRandy EckenrodeIt’s been tempting to upgrade to the M5 Max, but I’m trying to hold off.15:07:41

Show newer messages


Back to Room ListRoom Version: 6