!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
18 Nov 2025
@reckenrode:matrix.orgRandy EckenrodeWe should not be introducing default impurities.15:10:06
@reckenrode:matrix.orgRandy EckenrodeI wish we could block that stuff even when sandboxing is disabled. 😕15:10:58
@reckenrode:matrix.orgRandy EckenrodeBut also, we need to define what the actual purpose of the sandbox is supposed to be.15:12:29
@reckenrode:matrix.orgRandy EckenrodeIs this a MitM issue? What does NixOS do?15:13:02
@reckenrode:matrix.orgRandy Eckenrode * 15:13:13
@reckenrode:matrix.orgRandy EckenrodeOr nixpkgs on other Linux.15:13:26
@weethet:catgirl.cloudWeetHetIs native TLS an impurity?15:50:17
@weethet:catgirl.cloudWeetHetNixOS only has openssl certs but macOS has system certs as well15:50:50
@weethet:catgirl.cloudWeetHet I don't know if not having access to com.apple.SecurityServer is a purity issue 15:51:27
@k900:0upti.meK900FWIW on Linux Nix will copy system certs to the sandbox15:51:27
@weethet:catgirl.cloudWeetHetThis issue occurs because the package tries to use certs from the Keychain15:52:07
@weethet:catgirl.cloudWeetHetYou can't copy it15:52:17
@weethet:catgirl.cloudWeetHetAnd I think that not having access to it is a bug15:52:30
@k900:0upti.meK900OK that's above my pay grade15:53:27
@weethet:catgirl.cloudWeetHetIt's not even an impurity since FODs still have a hash to verify that the output doesn't change15:53:59
@weethet:catgirl.cloudWeetHetWhy does it matter if they have access to the system Keychain15:54:09
@weethet:catgirl.cloudWeetHet Minimized patch just adds (allow mach-lookup (global-name "com.apple.SecurityServer")) 15:54:43
@weethet:catgirl.cloudWeetHetWhich should be fine TM15:54:52
@reckenrode:matrix.orgRandy EckenrodeSo, e.g., on Debian it would copy from wherever Debian keeps its certs?18:13:15
@k900:0upti.meK900Yes18:13:32
@reckenrode:matrix.orgRandy EckenrodeYes. Things that access Keychain will get different certs than those that don’t.18:13:43
@reckenrode:matrix.orgRandy EckenrodeIf Nix on Linux copies from the system, so should Nix on Darwin.18:14:18
@weethet:catgirl.cloudWeetHetYou can't copy those you need to give access to the security server18:14:54
@reckenrode:matrix.orgRandy EckenrodeBut copy not punch a hole in the sandbox. The reason being that not every application uses or can use the system API.18:15:07
@reckenrode:matrix.orgRandy EckenrodeThe daemon or whatever sets up the build can’t do it?18:15:30
@weethet:catgirl.cloudWeetHetFOD sandbox already allows access to trustd18:16:45
@weethet:catgirl.cloudWeetHetAgain, it's the FOD sandbox we already allow network access18:17:00
@weethet:catgirl.cloudWeetHetHow much more impure do you want it to be18:17:09
@weethet:catgirl.cloudWeetHetIt would be entirely different if we were talking about the non-FOD sandbox18:17:41
@reckenrode:matrix.orgRandy EckenrodeI actually am.18:17:54

Show newer messages


Back to Room ListRoom Version: 6