7 May 2025 |
| Aerden joined the room. | 07:55:56 |
| Mr. Defenestrator joined the room. | 08:26:24 |
Mr. Defenestrator | Did something change with the flake registry recently? I have custom registry entries that show up in nix registry list but not t when running nix flake show myflake - as far as I can tell this happened after an update, but rollbacks aren't fixing it. Across multiple systems. | 08:40:23 |
| paintenzero joined the room. | 11:28:22 |
| paintenzero left the room. | 11:32:36 |
| paintenzero joined the room. | 12:08:45 |
paintenzero | I see many recommendations to put NixOS system configuration into a flake. Can somebody explain what is the profit doing it? | 12:14:59 |
dramforever | easy management of evaluation inputs, like nixpkgs, home-manager, other people's overlays and nixos modules, etc | 12:20:33 |
dramforever | you don't have to use flakes, see e.g. https://github.com/andir/npins | 12:20:51 |
dramforever | if you have your own package set you can also easily use it from the cli | 12:21:19 |
dramforever | i don't know if you're going that far yet | 12:21:25 |
paintenzero | Ah, I see now. That makes sense. Thank you! | 12:22:23 |
Sandro 🐧 | yep. registry is no longer used for that because it depends on user configuration | 12:36:57 |
Sandro 🐧 | managing channels is no fun when you have more than 2 and especially painful when you have 10+ | 12:37:23 |
Sandro 🐧 | Flakes are the defacto standard. You can use something else but that is usually gefrickel and may not be supported by everything. | 12:37:47 |
paintenzero | And by managing channels you mean managing compatibility between all the software from different channels? | 12:47:36 |
Sandro 🐧 | creating, deleting them, pointing them to the correct branch | 12:48:17 |
Sandro 🐧 | rolling them back | 12:48:22 |
paintenzero | Understood. Thank you! | 12:49:23 |
Mr. Defenestrator | In reply to @sandro:supersandro.de yep. registry is no longer used for that because it depends on user configuration Interesting. So I can't use system registry references for nix eval ? It works for 'global' references. Is there an issue I can go read into? | 13:38:47 |
Sandro 🐧 | It was mentioned in the changelog of nix 2.28 IIRC | 13:42:57 |
Sandro 🐧 | nix eval should still work, just not putting it directly into flake.nix | 13:43:17 |
Mr. Defenestrator | Actually I found a few upstream issues, it looks like this may be a bug. See https://github.com/NixOS/nix/issues/13144
Reading into it, can't really discern if this was an intended effect of the pinning change or unintended. | 13:51:25 |
Mr. Defenestrator | Hopefully it's just a regression, that syntax with a 'self' flakeref in the registry is super ergonomic for auto updates among other things. | 13:53:09 |
Mr. Defenestrator | * Actually I found a few issues, it looks like this may be a bug. See https://github.com/NixOS/nix/issues/13144
Reading into it, can't really discern if this was an intended effect of the pinning change or unintended. | 13:57:15 |
| Wimpy changed their profile picture. | 15:12:16 |
| Ethan Bodzioney joined the room. | 16:10:33 |
hexa | what is a good output to run nixos vm tests in | 20:57:46 |
hexa | we have a bunch of them, like 10 | 20:57:51 |
hexa | so I want them out of checks , because they make nix flake check too expensive | 20:58:11 |