!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1152 Members
β€œThere are still many issues with the Darwin platform but most of it is quite usable.” β€” http://yves.gnu-darwin.org183 Servers

Load older messages


SenderMessageTime
21 Dec 2025
@samasaur:matrix.orgsamasaur* bc that sudo isn't passed down to HM19:20:04
@crushing-smite:matrix.orgcrushing-smitewhat do I do then?19:20:38
@crushing-smite:matrix.orgcrushing-smitesudo su?19:20:40
@crushing-smite:matrix.orgcrushing-smitethis did not help either 😠😠😠19:24:17
@samasaur:matrix.orgsamasaurno, because nix-darwin activation explicitly drops to user-level permissions before running HM activation19:26:14
@crushing-smite:matrix.orgcrushing-smiteI mean, that option is part of home-manager, not nix-darwin module system - so how the hell should it be related?19:27:19
@crushing-smite:matrix.orgcrushing-smiteAnd why the lack of sudo should drop (!) an app from allow-list?19:27:47
@crushing-smite:matrix.orgcrushing-smiteWhen home-manager is used as nix-darwin module, would it be possible/make sense to trigger it separately?19:28:12
@crushing-smite:matrix.orgcrushing-smitehttps://github.com/nix-community/home-manager/issues/807919:30:52
@crushing-smite:matrix.orgcrushing-smite what are the drawbacks of targets.darwin.copyApps.enableChecks = false? 19:31:30
@crushing-smite:matrix.orgcrushing-smiteRemoving the Home Manager Apps helped19:34:02
@crushing-smite:matrix.orgcrushing-smiteOkay, it now works19:34:20
@crushing-smite:matrix.orgcrushing-smiteWorth adding this info about dir cleanup (and maybe copyApps.enableChecks) to the error message19:35:02
@crushing-smite:matrix.orgcrushing-smitewell, no, shit19:35:43
@crushing-smite:matrix.orgcrushing-smiteit added only firefox19:35:46
@crushing-smite:matrix.orgcrushing-smiteand did not do it for vscode, alacritty πŸ€¦β€β™‚οΈ19:36:02
@crushing-smite:matrix.orgcrushing-smitelet me try rebooting19:36:24
@crushing-smite:matrix.orgcrushing-smitenope, still not there19:37:36
@crushing-smite:matrix.orgcrushing-smitethis process is still VERY brittle, are there any thoughts on further improving it, now that you've given up on all but copying the apps?19:38:03
@samasaur:matrix.orgsamasaurunfortunately as someone said on that issue it's very difficult to try and debug this kind of thing on macOS21:18:10
@samasaur:matrix.orgsamasaurWe did some fairly thorough testing before merging the new approach into nix-darwin and AFAIK nobody has run into any issues there21:19:00
@samasaur:matrix.orgsamasaurwhich to me implies that the most likely cause is a lack of permissions, since the script runs as root when part of a nix-darwin config but as your user when part of a HM config21:20:05
22 Dec 2025
@paparodeo:matrix.orgreno has anyone had issues with python3.withPackages not working with nix-shell. for some reason dropping into nix-shell -p 'python3.withPackages(p: [p.requests ])' then trying import requests from the python3 from the nix-shell fails with a module not found error. same thing works on linux. 00:47:49
@paparodeo:matrix.orgreno * has anyone had issues with python3.withPackages not working with nix-shell? for some reason dropping into nix-shell -p 'python3.withPackages(p: [p.requests ])' then trying import requests from the python3 from the nix-shell fails with a module not found error. same thing works on linux. 00:48:23
@k900:0upti.meK900 I think this is fixed on latest channels? 00:49:27
@k900:0upti.meK900If it's what I think it is00:49:46
@paparodeo:matrix.orgreno hmm. still there for me on nixpkgs https://nixos.org/channels/nixpkgs-unstable. I just updated channel to see if it went away. will try again tomorrow. 00:54:08
@paparodeo:matrix.orgreno works fine on nixpkgs-25.11-darwin so switched. not sure why I was using unstable anyways. thx. 01:02:34
@reckenrode:matrix.orgRandy EckenrodeYAY. SwiftPM has a way of doing vendored dependencies.02:26:23
@reckenrode:matrix.orgRandy Eckenrode * 02:26:40

Show newer messages


Back to Room ListRoom Version: 6