!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

755 Members
149 Servers

Load older messages


SenderMessageTime
7 May 2025
@aerden:matrix.orgAerden joined the room.07:55:56
@mr.defenestrator:matrix.orgMr. Defenestrator joined the room.08:26:24
@mr.defenestrator:matrix.orgMr. 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:beeper.compaintenzero joined the room.11:28:22
@paintenzero:beeper.compaintenzero left the room.11:32:36
@paintenzero:beeper.compaintenzero joined the room.12:08:45
@paintenzero:beeper.compaintenzeroI see many recommendations to put NixOS system configuration into a flake. Can somebody explain what is the profit doing it?12:14:59
@dramforever:matrix.orgdramforevereasy management of evaluation inputs, like nixpkgs, home-manager, other people's overlays and nixos modules, etc12:20:33
@dramforever:matrix.orgdramforever you don't have to use flakes, see e.g. https://github.com/andir/npins 12:20:51
@dramforever:matrix.orgdramforeverif you have your own package set you can also easily use it from the cli12:21:19
@dramforever:matrix.orgdramforeveri don't know if you're going that far yet12:21:25
@paintenzero:beeper.compaintenzeroAh, I see now. That makes sense. Thank you!12:22:23
@sandro:supersandro.deSandro 🐧yep. registry is no longer used for that because it depends on user configuration12:36:57
@sandro:supersandro.deSandro 🐧managing channels is no fun when you have more than 2 and especially painful when you have 10+12:37:23
@sandro:supersandro.deSandro 🐧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:beeper.compaintenzeroAnd by managing channels you mean managing compatibility between all the software from different channels?12:47:36
@sandro:supersandro.deSandro 🐧creating, deleting them, pointing them to the correct branch12:48:17
@sandro:supersandro.deSandro 🐧rolling them back12:48:22
@paintenzero:beeper.compaintenzeroUnderstood. Thank you!12:49:23
@mr.defenestrator:matrix.orgMr. 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:supersandro.deSandro 🐧It was mentioned in the changelog of nix 2.28 IIRC13:42:57
@sandro:supersandro.deSandro 🐧nix eval should still work, just not putting it directly into flake.nix13:43:17
@mr.defenestrator:matrix.orgMr. DefenestratorActually 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:matrix.orgMr. DefenestratorHopefully 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:matrix.orgMr. 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
@wimpress:matrix.orgWimpy changed their profile picture.15:12:16
@bodzioney:matrix.orgEthan Bodzioney joined the room.16:10:33
@hexa:lossy.networkhexawhat is a good output to run nixos vm tests in20:57:46
@hexa:lossy.networkhexawe have a bunch of them, like 1020:57:51
@hexa:lossy.networkhexa so I want them out of checks, because they make nix flake check too expensive 20:58:11

Show newer messages


Back to Room ListRoom Version: 6