1
0
Fork 0
Go to file
Jörg Thalheim 79426e4c92
Merge pull request #57 from nix-community/ci
fix nix 2.6 fallout
2022-01-25 09:04:08 +01:00
.github pin nix 2.5.1 for ci 2022-01-25 09:02:58 +01:00
lib Run nixpkgs-fmt . 2020-12-26 21:43:32 +01:00
modules Run nixpkgs-fmt . 2020-12-26 21:43:32 +01:00
overlays Run nixpkgs-fmt . 2020-12-26 21:43:32 +01:00
pkgs/example-package Run nixpkgs-fmt . 2020-12-26 21:43:32 +01:00
.gitignore Initial commit 2018-07-16 14:18:20 +02:00
.travis.yml travis: check if NUR_REPO was changed from the default. 2020-09-03 08:13:45 +02:00
LICENSE Initial commit 2018-07-16 14:18:20 +02:00
README.md fix GitHub workflow badge 2021-01-09 18:32:58 +01:00
ci.nix Merge pull request #36 from divanorama/nixpkgs_fmt 2020-12-28 06:26:03 +00:00
default.nix Run nixpkgs-fmt . 2020-12-26 21:43:32 +01:00
flake.lock add support for flakes 2021-06-25 00:44:54 +00:00
flake.nix add support for flakes 2021-06-25 00:44:54 +00:00
overlay.nix Run nixpkgs-fmt . 2020-12-26 21:43:32 +01:00

README.md

nur-packages-template

A template for NUR repositories

Setup

  1. Click on Use this template to start a repo based on this template. (Do not fork it.)
  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. Choose your CI: Depending on your preference you can use github actions (recommended) or Travis ci.
    • Github actions: Change your NUR repo name and optionally add a cachix name in .github/workflows/build.yml and change the cron timer to a random value as described in the file
    • Travis ci: Change your NUR repo name and optionally your cachix repo name in .travis.yml. Than enable travis in your repo. You can add a cron job in the repository settings on travis to keep your cachix cache fresh
  4. Change your travis and cachix names on the README template section and delete the rest
  5. Add yourself to NUR

README template

nur-packages

My personal NUR repository

Build and populate cache

Cachix Cache