Sender | Message | Time |
---|---|---|
7 May 2025 | ||
creating, deleting them, pointing them to the correct branch | 12:48:17 | |
rolling them back | 12:48:22 | |
Understood. Thank you! | 12:49:23 | |
In reply to @sandro:supersandro.deInteresting. 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 | |
It was mentioned in the changelog of nix 2.28 IIRC | 13:42:57 | |
nix eval should still work, just not putting it directly into flake.nix | 13:43:17 | |
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 | |
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 | |
* 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 | |
15:12:16 | ||
16:10:33 | ||
what is a good output to run nixos vm tests in | 20:57:46 | |
we have a bunch of them, like 10 | 20:57:51 | |
so I want them out of checks , because they make nix flake check too expensive | 20:58:11 | |
but ideally I could just nix build .#tests | 20:58:26 | |
without having to select an individual test | 20:58:37 | |
20:58:40 | ||
but with the option to | 20:58:41 | |
but e.g. package attributes can only be derivations or paths | 20:59:37 | |
create a dummy derivation tests which just draws in everything | 21:26:36 | |
22:33:07 | ||
8 May 2025 | ||
It'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 | |
flake checks don't inherently use the module system as they're just derivations. do you use something like flake-parts? | 07:29:57 | |
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 | |
08:58:19 | ||
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:50:41 | |
* 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 | |
| 10:54:50 | |
*
use | 10:54:55 | |
Well I'd like to pass some things to the flake and this is what I came up with:
But this way I have to define everything a would need - like | 10:57:18 |