made it possible to use NUR with without overrides
this means you can use it directly from a channel or via a nix repl in a local clone.
This commit is contained in:
parent
b046e0f172
commit
1a5cae1376
1 changed files with 8 additions and 1 deletions
|
|
@ -1,7 +1,14 @@
|
|||
{
|
||||
nurpkgs ? import <nixpkgs> { }, # For nixpkgs dependencies used by NUR itself
|
||||
# Dependencies to call NUR repos with
|
||||
pkgs ? null,
|
||||
# The override handles the case where NUR is installed via standalone channel or channel + override
|
||||
pkgs ? (
|
||||
import <nixpkgs> {
|
||||
overrides = [
|
||||
(final: prev: if prev ? nur then prev else { nur = ./. { pkgs = final; }; })
|
||||
];
|
||||
}
|
||||
),
|
||||
repoOverrides ? { },
|
||||
}:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue