Update README.md: small fix which makes the described repoOverrides work. (ref. IRC with Mic92)
This commit is contained in:
parent
ad99febbb0
commit
a5f3454ce3
1 changed files with 4 additions and 2 deletions
|
|
@ -412,15 +412,17 @@ This allows to test changes before publishing.
|
|||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||
inherit pkgs;
|
||||
repoOverrides = {
|
||||
mic92 = import ../nur-packages;
|
||||
mic92 = import ../nur-packages { inherit pkgs; };
|
||||
## remote locations are also possible:
|
||||
# mic92 = import (builtins.fetchTarball "https://github.com/your-user/nur-packages/archive/master.tar.gz");
|
||||
# mic92 = import (builtins.fetchTarball "https://github.com/your-user/nur-packages/archive/master.tar.gz") { inherit pkgs; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
The repo must be a valid package repo, i.e. its root contains a `default.nix` file.
|
||||
|
||||
## Contribution guideline
|
||||
|
||||
- When adding packages to your repository make sure they build and set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue