87ddc10b67
The `ci.nix` file contains a number of improvements over `buildable.nix`. For example, it - honors `recurseForDerivations` to also build packages inside attributes, - builds all package outputs, and - separates buildable and cacheable outputs such that packages having `preferLocalBuild` are not cached. |
||
---|---|---|
lib | ||
modules | ||
overlays | ||
pkgs/example-package | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
ci.nix | ||
default.nix | ||
overlay.nix |
README.md
nur-packages-template
A template for NUR repositories
Setup
- Fork this repo
- Add your packages to the pkgs directory and to
default.nix
- Remember to mark the broken packages as
broken = true;
in themeta
attribute, or travis (and consequently caching) will fail! - Library functions, modules and overlays go in the respective directories
- Remember to mark the broken packages as
- Add your NUR repo name and your cachix repo name (optional) to
.travis.yml
- If you use cachix you should also add your cache's private key to travis' protected env variables
- Enable travis for your repo
- You can add a cron job in the repository settings on travis to keep your cachix cache fresh
- Change your travis and cachix names on the README template section and delete the rest
- Add yourself to NUR
README template
nur-packages
My personal NUR repository