Nix Flakes | 886 Members | |
| 179 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Oct 2023 | ||
| 23:15:46 | ||
| 9 Oct 2023 | ||
| 05:48:16 | ||
| is there an common way to register new outputs - i'd like to register pre-commit hooks as a flake output in a sane way (new app type) | 08:02:40 | |
| 14:25:33 | ||
| 10 Oct 2023 | ||
| 06:02:23 | ||
| 07:21:01 | ||
In reply to @ronnypfannschmidt:matrix.orgThe wiki says there's no spec and it's all defined by what tools use it (i.e. nix build), I would say just edit the wiki page with your output, maybe an RFC should be opened for that...or even just nixpkgs thread. | 07:26:07 | |
| what's the correct way to pin nixpkgs via the registry declarively in NixOS conf? I notice I have a system and global nixpkgs that dont match, and I wonder what I did wrong. | 07:29:23 | |
nix.registry.nixpkgs.flake = inputs.nixpkgs; or similar ought to do the trick | 08:23:33 | |
if you do nix registry list you should see that the nixpkgs registry entry points to a path in the nix store so you know its pinned | 08:25:07 | |
other flakes will still use whatever is specified in their own flake.lock of course | 08:26:39 | |
| Jez (he/him) ♾️: system looks correct, is it just impossible to switch out the global one to stable?
| 08:54:16 | |
| I also can't figure out how to get nix-channel to follow the same commit, so I'm not randomly pulling pkgs in from a different version. | 08:57:09 | |
| oh, hah, I have a snippet for this that I stole from somewhere (probably the flakes channel here or on discord):
| 12:52:59 | |
| (that function takes a concrete nixpkgs, a host name and the attrset of flake inputs & munges them such that all the inputs are on the flake registry & registered as channels) | 12:53:39 | |
| Oh heh, I should configure that too and remove the channels that are configured on my system now | 15:18:35 | |
In reply to @antifuchs:asf.computerit is better to set nixPath to be constant, since it's an environment variable that won't update in already open applications, so you might keep using old nixpkgs | 15:51:58 | |
| I set it to a fixed path and link inputs there using environment.etc instead | 15:52:45 | |
| https://git.dblsaiko.net/systems/tree/common/defaults/system-nix.nix#n67 | 15:53:32 | |
| I should probably just delete the channel and only use the registry, actually | 16:55:10 | |
| 2xsaiko: didn't realize that was the case - that seems like the better solution, thanks! | 16:55:39 | |
| 11 Oct 2023 | ||
| 05:35:18 | ||
| 19:14:34 | ||
| 12 Oct 2023 | ||
| 00:13:14 | ||
| 00:14:44 | ||
| 13 Oct 2023 | ||
| 10:27:26 | ||
| 14 Oct 2023 | ||
| How do I include the latest release here as a flake input? https://github.com/pftf/RPi4/releases | 00:34:45 | |
| seeing the following error: error: file:// URL 'file+https://github.com/pftf/RPi4/releases/download/v1.35/RPi4_UEFI_Firmware_v1.35.zip' has unexpected authority 'github.com' | 00:35:45 | |
try github:pftf/RPi4/v1.35? That'll be the source tree with the tag v1.35 | 19:55:44 | |
| 17 Oct 2023 | ||
| 07:51:29 | ||