!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
27 Jan 2026
@rosscomputerguy:matrix.orgTristan Ross I thought linker = "ldd"; did the trick alongside useLLVM to make it be an LLVM platform. 21:31:14
@rosscomputerguy:matrix.orgTristan Ross * I thought linker = "lld"; did the trick alongside useLLVM to make it be an LLVM platform. 21:31:19
@reckenrode:matrix.orgRandy Eckenrode I expect there will be some assumptions about what useLLVM means. 21:34:18
@reckenrode:matrix.orgRandy Eckenrode Probably why Darwin is not a isBSD even though it has origins in BSD and uses a FreeBSD-based userland. 21:34:53
@reckenrode:matrix.orgRandy Eckenrode * Probably why Darwin is not isBSD even though it has origins in BSD and uses a FreeBSD-based userland. 21:35:03
@reckenrode:matrix.orgRandy Eckenrode Like CFFI disables tests when useLLVM, but the tests presumably work on Darwin. 21:37:42
@reckenrode:matrix.orgRandy Eckenrode There are also some nuances. While Darwin uses an LLVM-based libc++, libc++abi, and libunwind; it’s not using them from the LLVM package set, which could confuse some packages assuming useLLVM means everything is from the LLVM package set. 21:39:11
@rosscomputerguy:matrix.orgTristan RossYeah, I feel like the toolchain attrs helps with this since it breaks everything in a toolchain into different attributes21:43:52
@agar.mu:matrix.orgm.a. joined the room.23:51:13
@agar.mu:matrix.orgm.a.is it possible to configure printers on macos with nix-darwin? i tried to look in the documentation/otherwise search for options but it seems not to exist23:53:07
@agar.mu:matrix.orgm.a.(context: i have a list of samba printers at my university which i want to have available to print from, but the list might change in the future so i don't want to configure it manually)23:54:15
28 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode

If we can find a source for eject, we can have all of unixtools on Darwin. 😂

https://github.com/NixOS/nixpkgs/pull/484580

00:18:19
@reckenrode:matrix.orgRandy Eckenrode protobuf appears to be broken on Darwin on staging. 😕 00:21:19
@reckenrode:matrix.orgRandy Eckenrode * protobuf_33 appears to be broken on Darwin on staging. 😕 00:56:15
@samasaur:matrix.orgsamasaurI don't believe we have an existing module for that. If you manage to find a way to do so programmatically, though, it could be added00:56:27
@reckenrode:matrix.orgRandy EckenrodeCouldn’t the NixOS module be ported?00:58:07
@agar.mu:matrix.orgm.a.i'm not sure this is too easy to do00:59:50
@samasaur:matrix.orgsamasaur maybe? unsure whether you can actually still add printers to macOS with lpadmin (i have no reason to think you can't; I just haven't tried) 01:00:31
@agar.mu:matrix.orgm.a.in theory lpadmin should work on macos so i will check it out. if it works out i'll try to figure out how to contribute (though i haven't contributed to anything nix before)01:00:40
@agar.mu:matrix.orgm.a.yeah they fired the cups guy in 2019 and the copyright notice on the manpage still says 2019 so i don't have extremely high hopes01:01:13
@agar.mu:matrix.orgm.a.* yeah the CUPS guy left in 2019 and the copyright notice on the manpage still says 2019 so i don't have extremely high hopes01:02:09
@samasaur:matrix.orgsamasaurallegedly still doable as of 2021, so I would give that a shot first01:02:48
@agar.mu:matrix.orgm.a.that was my plan if it wasn't already implemented in nix-darwin. will probably do sometime tomorrow01:03:34
@agar.mu:matrix.orgm.a.thanks for the help :)01:04:48
@reckenrode:matrix.orgRandy EckenrodeThere appear to have been some changes to CUPS in macOS 26.01:05:26
@reckenrode:matrix.orgRandy Eckenrode Minor though. They added httpDeleteCredentials, which doesn’t appear in upstream CUPS. 01:09:00
@reckenrode:matrix.orgRandy EckenrodeNeat. The failure is non-deterministic.01:10:08
@rosscomputerguy:matrix.orgTristan Ross Oh yeah, I ran into a non deterministic failure with aarch64-darwin today with x265 lol. It said a .o file had a bad size, the linker said 0 bytes. 01:11:51
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaso what's the latest on swift 5 being broken in unstable? I have half of my system tied to it, apparently - who new? (nixvim plugins, pre-commit, mpv are just first things that popped up in the chain of dependencies). looking at https://github.com/NixOS/nixpkgs/issues/483584 comments, seems like no specific plans or ideas to fix it?02:23:25
@ihar.hrachyshka:matrix.orgIhar Hrachyshka* so what's the latest on swift 5 being broken in unstable? I have half of my system tied to it, apparently - who knew? (nixvim plugins, pre-commit, mpv are just first things that popped up in the chain of dependencies). looking at https://github.com/NixOS/nixpkgs/issues/483584 comments, seems like no specific plans or ideas to fix it?02:23:37

Show newer messages


Back to Room ListRoom Version: 6