!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

784 Members
153 Servers

Load older messages


SenderMessageTime
7 May 2025
@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
@hexa:lossy.networkhexa but ideally I could just nix build .#tests 20:58:26
@hexa:lossy.networkhexawithout having to select an individual test20:58:37
@skyesoss:matrix.org@skyesoss:matrix.org left the room.20:58:40
@hexa:lossy.networkhexabut with the option to20:58:41
@hexa:lossy.networkhexabut e.g. package attributes can only be derivations or paths20:59:37
@sandro:supersandro.deSandro 🐧create a dummy derivation tests which just draws in everything21:26:36
@christopherg98:matrix.orgchristopherg98 joined the room.22:33:07
8 May 2025
@mr.defenestrator:matrix.orgMr. DefenestratorIt'd be cool if --argstr worked with flake checks. I just did a little test and it failed because my arg wasn't defined in _module.args -- I didn't think checks relied in the module system, but that's kind of interesting if they do. Maybe someone who knows more about the checks attribute could confirm that. Parameterizing checks could be useful.04:36:15
@dramforever:matrix.orgdramforeverflake checks don't inherently use the module system as they're just derivations. do you use something like flake-parts?07:29:57
@dramforever:matrix.orgdramforever like, just to be clear it is not an exaggeration that the nix cli has zero knowledge of how nixos modules work 07:30:20
@isabel:isabelroses.comisabel changed their profile picture.08:58:19
@kdobieder:matrix.orgkdobiederDoes anyone have an example of a Home Manager module shared via Flake? In the consuming flakes, I’d like it to be added directly to homeManagerModule.modules. The Home Manager module should be able to install packages from nixpkgs.10:50:41
@kdobieder:matrix.orgkdobieder * Does anyone have an example of a Home Manager module shared via Flake? In the consuming flakes, I’d like it to be added directly to homeManagerModule.modules. The Home Manager module should be able to install packages from nixpkgs. 10:51:05

Show newer messages


Back to Room ListRoom Version: 6