!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
27 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode procps is broken on Darwin too. I guess it’s a good thing I’m building all the things on staging. 😑 15:10:31
@reckenrode:matrix.orgRandy Eckenrode

Darwin fixes for staging issues:

https://github.com/NixOS/nixpkgs/pull/484427
https://github.com/NixOS/nixpkgs/pull/484428
https://github.com/NixOS/nixpkgs/pull/484432

16:27:39
@reckenrode:matrix.orgRandy EckenrodeLooks like some changes in LLD 22 might actually allow us to make it the default on Darwin.18:46:59
@toonn:matrix.orgtoonn Exciting. 20:27:50
@reckenrode:matrix.orgRandy EckenrodeParticularly https://github.com/llvm/llvm-project/commit/20ca85b69fc06feb75f67414d54f3830748bb456 and https://github.com/llvm/llvm-project/commit/eb7386033ad7c51ec6de610f3266c58de6b25e8c. I ran into the problem those fix trying to bootstrap with LLD 16.21:12:57
@rosscomputerguy:matrix.orgTristan RossWell, good thing that 22.1.0-rc2 was merged today21:23:10
@reckenrode:matrix.orgRandy EckenrodeI’m not going to preemptively bump my local branch because I don’t want to diverge too much from what has been merged. It’s not hard to manage with Jujutsu, but it can lead to situations where it’s untested or broken on actual Nixpkgs.21:25:40
@reckenrode:matrix.orgRandy Eckenrode If I can make LLD the default, I’m going to also try to make LLVM bintools the default. That would make Darwin an actual useLLVM platform. I’m sure that won’t break a lot of assumptions. 21:26:45
@rosscomputerguy:matrix.orgTristan RossOh nice21:30:27
@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

Show newer messages


Back to Room ListRoom Version: 6