Personal Nix User Repository
Go to file
xeals 6bd6a13e51
alacritty-ligatures: override upstream directly
The old method was having the alacritty build copy-pasted into the repo
and making minor changes. This worked but isn't really feasible as it
doesn't incoroprate upstream (build) changes without noticing.

This commit finally works out how to override buildRustPackage to set
the Cargo dependency.
2020-10-17 12:51:43 +11:00
.github Initial commit 2020-10-17 12:39:29 +11:00
lib Initial commit 2020-10-17 12:39:29 +11:00
modules Initial commit 2020-10-17 12:39:29 +11:00
overlays Initial commit 2020-10-17 12:39:29 +11:00
pkgs alacritty-ligatures: override upstream directly 2020-10-17 12:51:43 +11:00
.envrc Initial commit 2020-10-17 12:39:29 +11:00
.gitignore Initial commit 2020-10-17 12:39:29 +11:00
.travis.yml ci: update Travis config 2020-10-17 12:51:43 +11:00
ci.nix Initial commit 2020-10-17 12:39:29 +11:00
default.nix alacritty-ligatures: override upstream directly 2020-10-17 12:51:43 +11:00
LICENSE Initial commit 2020-10-17 12:39:29 +11:00
overlay.nix Initial commit 2020-10-17 12:39:29 +11:00
README.md Initial commit 2020-10-17 12:39:29 +11:00
shell.nix Initial commit 2020-10-17 12:39:29 +11:00

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