!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
27 Jan 2026
@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
@reckenrode:matrix.orgRandy EckenrodeI’m not looking at it. Time spent on that is time not spent on Swift 6.2. Someone else will need to debug what is causing the compiler to crash during build.02:31:14
@reckenrode:matrix.orgRandy EckenrodeYou’ll need to bisect across the last staging-next, which is where it broke.02:31:44
@agar.mu:matrix.orgm.a. left the room.02:35:11
@agar.mu:matrix.orgm.a. joined the room.02:35:30
@rosscomputerguy:matrix.orgTristan RossOh great, I just ran into that swift bug....04:18:18
@samasaur:matrix.orgsamasaur I'm kicking off a bisect for that Swift bug with jj bisect run --range b579d443b37c9c5373044201ea77604e37e748c8..a1bab9e494f5f4939442a57a58d0449a109593fe -- nom build -A swift (commits grabbed from Hydra). I think it'll be a couple days before I can investigate but maybe that will give enough time for this bisect to finish, given that it will be rebuilding the world a lot 06:57:29
@samasaur:matrix.orgsamasaur(I haven't used JJ's bisecting before, so if anyone has and sees anything wrong with that command let me know. I think I got it right but I'm not entirely sure)06:58:01
@samasaur:matrix.orgsamasaur * I'm kicking off a bisect for that Swift bug with jj bisect run --range b579d443b37c9c5373044201ea77604e37e748c8..a1bab9e494f5f4939442a57a58d0449a109593fe -- nom-build -A swift (commits grabbed from Hydra). I think it'll be a couple days before I can investigate but maybe that will give enough time for this bisect to finish, given that it will be rebuilding the world a lot 06:58:58
@samasaur:matrix.orgsamasaurI did not realize how much stuff in nixpkgs depends on Swift on Darwin07:04:50

Show newer messages


Back to Room ListRoom Version: 6