Update README.md: small fix which makes the described repoOverrides work. (ref. IRC with Mic92)

This commit is contained in:
ppenguin 2021-01-13 21:14:32 +01:00
parent ad99febbb0
commit a5f3454ce3

View file

@ -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