!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
9 Jan 2026
@ivy:fargone.shIvyit does not16:17:12
@ivy:fargone.shIvyhttps://github.com/search?q=repo%3AGPGTools%2FMacGPG2%20launch_activate_socket&type=code16:17:16
@ivy:fargone.shIvythis function needs to be called to get the sockets16:17:26
@ivy:fargone.shIvybecause otherwise it cant get the sockets from launchd16:18:07
@saiko:knifepoint.netKatalin πŸ”ͺright, they have a launch agent for killing gpg-agent when the user logs out instead16:19:08
@saiko:knifepoint.netKatalin πŸ”ͺI wonder how they set it up16:19:15
@ivy:fargone.shIvystill doesnt properly manage the sockets tho16:19:35
@ivy:fargone.shIvyutterly a hack16:19:40
@saiko:knifepoint.netKatalin πŸ”ͺmhm16:19:50
@ivy:fargone.shIvyadditionally this does nothing https://github.com/nix-community/home-manager/blob/0e4217b2c4827e71e2e612accccb01981c16afda/modules/services/gpg-agent.nix#L451-L45316:21:03
@ivy:fargone.shIvyas the names are far not what gpg actually wants16:21:20
@ivy:fargone.shIvynor does it know how to get them16:21:27
@ivy:fargone.shIvythe only way to get them is through launch_activate_socket16:21:42
@ivy:fargone.shIvy they could be used as the names but then there would have to be major translation to the real names 16:22:20
@ivy:fargone.shIvywhich have to be "ssh", "extra", "browser" and always finally "std"16:22:37
@ivy:fargone.shIvythis commit which added that literally seems to be untested https://github.com/nix-community/home-manager/commit/ef506124579ff6280a43a9596bb2a5049872bf8e as it will not work16:24:04
@ivy:fargone.shIvyadditionally, patching this is hard as it shouldnt actually be used the gpgConf we need to wrap gpg-agent16:26:19
@ivy:fargone.shIvyi personally have it working but it required a lot of changes16:27:49
@ivy:fargone.shIvyincluding this https://github.com/auscyber/dotfiles/blob/e69c5ae454167f21dbaca7eace8e50e69d5d3454/overlays/literal.nix#L33C1-L39C4 https://github.com/auscyber/dotfiles/blob/master/packages/gpg/default.nix16:28:35
@ivy:fargone.shIvy* additionally, patching this is hard as it shouldnt actually be used the gpgPkg we need to wrap gpg-agent16:32:41
@emilazy:matrix.orgemilyyou don't have to use launchd socket activation though?16:50:08
@emilazy:matrix.orgemilyyou can have GnuPG manage the sockets itself IIRC16:50:11
@emilazy:matrix.orgemily(but yeah, socket activation is nicer. I wrote a version of that C program in Rust long ago)16:50:28
10 Jan 2026
@yatekii:matrix.orgNoahis there an easy way to add applications to startup items on macos?11:37:45
11 Jan 2026
@ivank:matrix.orgivan joined the room.01:56:32
@9hp71n:matrix.orgghpzin changed their display name from ghpzin (moved to @ghpzin:envs.net) to ghpzin.15:04:53
@ghpzin:envs.net@ghpzin:envs.net left the room.16:18:24
12 Jan 2026
@james:jaminit.meJames Cook joined the room.01:15:01
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

Randy Eckenrode: llvmPackages_20.compiler-rt is broken on 26 for x86_64-darwin.

We'll probably need this change: https://github.com/apple-oss-distributions/ld64/commit/1a4389663d65d6630e4b3e31ace2a86b6183b452#diff-8c97f4c6bb5cfd9f4a6f2d0cb4e7fc2caaf08692d0a11ec16ad28dff725435ecR4888

Hydra: https://cache.nixos.org/log/gj40yabysxzjap3fgkw4lq0z0qyi28v5-compiler-rt-libc-20.1.8.drv

I am running a build to confirm the hunk fixes it but it will take some time.

Are there plans to bump ld64 or backport the hunk?

01:58:46
@ivy:fargone.shIvyyou do tho, because its supervised mode in home-manager, which requires it to be given the sockets its going to use02:42:30

Show newer messages


Back to Room ListRoom Version: 6