Document how to test/use own repository
It should be straight forward to test expressions before pushing new content to a repository. Therefore we should provide snippets on how load packages/modules/library/overlays functions from a local checkout into NixOS/Nix. If necessary helpers can be added to NUR that simplify the workflow.
I currently am trying to test a module I wrote and am stuck :/
Edit: I ended up with something like this:
let
nur-pkgs = import <nur-pkgs> {};
in {
nixpkgs.config.packageOverrides = pkgs: rec {
nur = import <nur-pkgs> {
inherit pkgs;
};
matrix-registration = nur.matrix-registration;
};
imports = [ nur-pkgs.modules.matrix-registration ];
Which I then build with sudo nixos-rebuild switch -I nur-pkgs=/path/to/nur-packages
you can also override your own repository https://github.com/nix-community/NUR#overriding-repositories to update it more frequently than NUR.
you can also override your own repository
so with repoOverrides, this issue is fixed...?
I think so.