| 21 Dec 2025 |
samasaur | * bc that sudo isn't passed down to HM | 19:20:04 |
crushing-smite | what do I do then? | 19:20:38 |
crushing-smite | sudo su? | 19:20:40 |
crushing-smite | this did not help either π π π | 19:24:17 |
samasaur | no, because nix-darwin activation explicitly drops to user-level permissions before running HM activation | 19:26:14 |
crushing-smite | I 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 | And why the lack of sudo should drop (!) an app from allow-list? | 19:27:47 |
crushing-smite | When home-manager is used as nix-darwin module, would it be possible/make sense to trigger it separately? | 19:28:12 |
crushing-smite | https://github.com/nix-community/home-manager/issues/8079 | 19:30:52 |
crushing-smite | what are the drawbacks of targets.darwin.copyApps.enableChecks = false? | 19:31:30 |
crushing-smite | Removing the Home Manager Apps helped | 19:34:02 |
crushing-smite | Okay, it now works | 19:34:20 |
crushing-smite | Worth adding this info about dir cleanup (and maybe copyApps.enableChecks) to the error message | 19:35:02 |
crushing-smite | well, no, shit | 19:35:43 |
crushing-smite | it added only firefox | 19:35:46 |
crushing-smite | and did not do it for vscode, alacritty π€¦ββοΈ | 19:36:02 |
crushing-smite | let me try rebooting | 19:36:24 |
crushing-smite | nope, still not there | 19:37:36 |
crushing-smite | this 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 | unfortunately as someone said on that issue it's very difficult to try and debug this kind of thing on macOS | 21:18:10 |
samasaur | We did some fairly thorough testing before merging the new approach into nix-darwin and AFAIK nobody has run into any issues there | 21:19:00 |
samasaur | which 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 config | 21:20:05 |
| 22 Dec 2025 |
reno | 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 |
reno | * 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 | I think this is fixed on latest channels? | 00:49:27 |
K900 | If it's what I think it is | 00:49:46 |
reno | 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 |
reno | works fine on nixpkgs-25.11-darwin so switched. not sure why I was using unstable anyways. thx. | 01:02:34 |
Randy Eckenrode | YAY. SwiftPM has a way of doing vendored dependencies. | 02:26:23 |
Randy Eckenrode | * | 02:26:40 |