11 Jul 2025 |
K900 | NixOS has a bunch of Rust yes | 06:17:28 |
jollywater | nice to see rust being implemented in the OS itself, ill have to go look over the github | 07:46:44 |
K900 | Most of the Rust code is in nixpkgs itself | 07:48:10 |
K900 | e.g. switch-to-configuration-ng | 07:48:18 |
K900 | And a bunch more tooling | 07:48:24 |
jollywater | git only shows 0.2% Rust | 07:48:47 |
K900 | Well yes, because the repo is overwhelmingly Nix | 07:49:19 |
jollywater | I know thats not a good metric though, yall make it a priority to code new tools in rust? | 07:49:25 |
K900 | No | 07:49:29 |
K900 | There is no such policy | 07:49:35 |
K900 | Generally those kinds of decisions are made on a case by case basis | 07:49:53 |
jollywater | not policy persay but strong focus or interest from contributors | 07:49:57 |
K900 | I don't think so, really | 07:50:10 |
K900 | We'd like to not grow more bespoke tooling, generally | 07:50:29 |
K900 | Though that's often hard to avoid | 07:50:35 |
jollywater | understandable | 07:50:45 |
K900 | But I do think we're moving in a direction of working with upstreams more to solve our problems | 07:51:01 |
K900 | Instead of trying to build around them | 07:51:05 |
jollywater | loved hearing about the rewrite for nixos-rebuild | 07:51:10 |
K900 | Which is good | 07:51:17 |
jollywater | looked over some old articles and blog posts etc trying to figure out how to help out and noticed the bug requests on git just keep getting higher and thought thatd be a good place to start👍 ones that affect usability. | 07:52:43 |
K900 | The number of open issues is a really bad metric tbh | 07:53:24 |
jollywater | im aware just gotta sort through to find actual bugs👍 I mainly code in rust though so thats why I was asking about rust | 07:54:25 |
jollywater | could very easily contribute some rust code | 07:54:53 |
emily | FWIW I wouldn't necessarily agree with this – sometimes there is just not going to be an upstream thing for what we need | 12:59:17 |
emily | admittedly systemd is implementing more and more glue stuff, but it's often highly opinionated to the extent that "this doesn't work for NixOS" will just get a "meh" | 12:59:44 |
emily | we have to take ownership of a lot of glue, it's just that right now a bunch of it is random inlined Bash | 12:59:56 |
| @m4dc4pxx:matrix.org joined the room. | 15:30:55 |
@m4dc4pxx:matrix.org | Hello! I'm trying to do some nix hacking on macos. I've built nix successfully, but my changes aren't showing up when I run the binary. (I've added logging I'm pretty sure I should see, and its not there.) I suspect its because my system nix uses the multi-user setup and the daemon is not running the binary I built. Is there any solution besides replacing the system nix? Or am I looking in the wrong direction? Appreciate any help!
| 15:33:39 |
dramforever | depending on what changes you're looking to do | 15:52:37 |