1
0
Fork 0
 
 
Go to file
Robert Helgesson 87ddc10b67
Replace `buildable.nix` by `ci.nix`
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.
2019-03-31 21:42:04 +02:00
lib Update to the new NUR format 2018-07-21 20:30:31 +02:00
modules Define modules as paths to functions, not functions 2018-07-22 15:46:19 +02:00
overlays Update to the new NUR format 2018-07-21 20:30:31 +02:00
pkgs/example-package Fix example package 2018-07-16 14:54:24 +02:00
.gitignore Initial commit 2018-07-16 14:18:20 +02:00
.travis.yml Replace `buildable.nix` by `ci.nix` 2019-03-31 21:42:04 +02:00
LICENSE Initial commit 2018-07-16 14:18:20 +02:00
README.md Update to the new NUR format 2018-07-21 20:30:31 +02:00
ci.nix Replace `buildable.nix` by `ci.nix` 2019-03-31 21:42:04 +02:00
default.nix Update to the new NUR format 2018-07-21 20:30:31 +02:00
overlay.nix Refactor `overlay.nix` 2019-03-28 23:52:37 +01:00

README.md

nur-packages-template

A template for NUR repositories

Setup

  1. Fork this repo
  2. Add your packages to the pkgs directory and to default.nix
    • Remember to mark the broken packages as broken = true; in the meta attribute, or travis (and consequently caching) will fail!
    • Library functions, modules and overlays go in the respective directories
  3. 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
  4. Enable travis for your repo
    • You can add a cron job in the repository settings on travis to keep your cachix cache fresh
  5. Change your travis and cachix names on the README template section and delete the rest
  6. Add yourself to NUR

README template

nur-packages

My personal NUR repository

Build Status Cachix Cache