22 Oct 2024 |
emily | In reply to @reckenrode:matrix.org https://github.com/reckenrode/nixos-configs/blob/03f15080f5ae7690631d892ad1ac61583ab8e412/common/darwin/home-manager/vscode.nix right. unfortunately ln -s and makeWrapper behave differently: the former doesn't result in stuff executing from inside the context of the bundle :( | 06:21:20 |
emily | which matters for mpv | 06:21:22 |
emily | so it seems hard to do the right thing in all the cases here | 06:21:36 |
reno | in addition to swift failing only on hydra -- ocaml also fails on hydra https://github.com/NixOS/nixpkgs/issues/350394 but builds locally | 06:46:39 |
samasaur | Download image.png | 06:54:19 |
samasaur | built (mostly) with Nix | 06:54:24 |
emily | were you saying that you couldn't get it working for daemons? | 06:55:48 |
emily | that would surprise me | 06:55:50 |
samasaur | Apparently registering daemons in this way requires an admin to authorize them in System Settings | 06:56:13 |
emily | 🤔 | 06:56:39 |
samasaur | so it's not that it wouldn't work at all, but it introduces a manual step in the process | 06:56:39 |
emily | but not just throwing a .plist in? lol | 06:56:45 |
samasaur | I mean the "admin approval" for throwing a plist in is that you need write access to /Library/LaunchDaemons | 06:57:18 |
emily | right | 06:57:32 |
samasaur | this method of registering agents/daemons is just calling a method in an app | 06:57:37 |
emily | can we, I dunno, toss in a symlink into the bundle in there or something? | 06:57:42 |
emily | I feel like I remember some way we could do it without too much ceremony | 06:57:54 |
emily | using a .bundle instead of an .app maybe? | 06:58:01 |
emily | I might just totally be imagining things | 06:58:04 |
samasaur | it's totally possible | 06:58:15 |
samasaur | i haven't gotten too in depth into this yet | 06:58:22 |
samasaur | (for example i have not actually tried launchdaemons) | 06:58:33 |
samasaur | i'm gonna post the stuff I have as a gist rn | 06:58:54 |
samasaur | https://gist.github.com/Samasaur1/3d7fb9f5ebf36145bed120d8aa1b382f | 07:11:57 |
emily | nice | 07:17:20 |
emily | btw staging-next has enough cached now that you can feasibly play around with it | 07:17:29 |
emily | though ofc you have to build your own Swift still | 07:17:35 |
samasaur | Download image.png | 07:17:37 |
samasaur | ah okay so if you do a daemon instead of an agent it shows up in system settings like this | 07:17:37 |
samasaur | im no longer getting notifications for new services, i think because i have been registering/unregistering a LOT | 07:18:11 |