!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
22 Oct 2024
@emilazy:matrix.orgemily
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
@emilazy:matrix.orgemily which matters for mpv 06:21:22
@emilazy:matrix.orgemilyso it seems hard to do the right thing in all the cases here06:21:36
@paparodeo:matrix.orgrenoin addition to swift failing only on hydra -- ocaml also fails on hydra https://github.com/NixOS/nixpkgs/issues/350394 but builds locally06:46:39
@samasaur:matrix.orgsamasaurimage.png
Download image.png
06:54:19
@samasaur:matrix.orgsamasaurbuilt (mostly) with Nix06:54:24
@emilazy:matrix.orgemilywere you saying that you couldn't get it working for daemons?06:55:48
@emilazy:matrix.orgemilythat would surprise me06:55:50
@samasaur:matrix.orgsamasaurApparently registering daemons in this way requires an admin to authorize them in System Settings06:56:13
@emilazy:matrix.orgemily🤔06:56:39
@samasaur:matrix.orgsamasaurso it's not that it wouldn't work at all, but it introduces a manual step in the process06:56:39
@emilazy:matrix.orgemily but not just throwing a .plist in? lol 06:56:45
@samasaur:matrix.orgsamasaur I mean the "admin approval" for throwing a plist in is that you need write access to /Library/LaunchDaemons 06:57:18
@emilazy:matrix.orgemilyright06:57:32
@samasaur:matrix.orgsamasaurthis method of registering agents/daemons is just calling a method in an app06:57:37
@emilazy:matrix.orgemilycan we, I dunno, toss in a symlink into the bundle in there or something?06:57:42
@emilazy:matrix.orgemilyI feel like I remember some way we could do it without too much ceremony06:57:54
@emilazy:matrix.orgemily using a .bundle instead of an .app maybe? 06:58:01
@emilazy:matrix.orgemilyI might just totally be imagining things06:58:04
@samasaur:matrix.orgsamasaurit's totally possible06:58:15
@samasaur:matrix.orgsamasaur i haven't gotten too in depth into this yet 06:58:22
@samasaur:matrix.orgsamasaur(for example i have not actually tried launchdaemons)06:58:33
@samasaur:matrix.orgsamasauri'm gonna post the stuff I have as a gist rn06:58:54
@samasaur:matrix.orgsamasaurhttps://gist.github.com/Samasaur1/3d7fb9f5ebf36145bed120d8aa1b382f07:11:57
@emilazy:matrix.orgemilynice07:17:20
@emilazy:matrix.orgemily btw staging-next has enough cached now that you can feasibly play around with it 07:17:29
@emilazy:matrix.orgemilythough ofc you have to build your own Swift still07:17:35
@samasaur:matrix.orgsamasaurimage.png
Download image.png
07:17:37
@samasaur:matrix.orgsamasaurah okay so if you do a daemon instead of an agent it shows up in system settings like this07:17:37
@samasaur:matrix.orgsamasaurim no longer getting notifications for new services, i think because i have been registering/unregistering a LOT07:18:11

Show newer messages


Back to Room ListRoom Version: 6