Skip to content

dtn7/nur-packages

Repository files navigation

Nix User Repository for dtn7

Build Status Build Status

This is a NUR repository for:

Install

At the moment those packages are buildable on nixpkgs unstable.

To include the whole Nix User Repositories, follow their README.

If you only want to include this repository, use the snippet below. This adds unstable as a packet source on a stable system.

let
  unstableTarball = builtins.fetchTarball "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz";
  unstable = import unstableTarball {
    config = config.nixpkgs.config;
  };
in
{
  nixpkgs.config.packageOverrides = pkgs: {
    dtn7-nur = import (builtins.fetchTarball "https://github.com/dtn7/nur-packages/archive/master.tar.gz") {
      pkgs = unstable;
    };
  };
}

# ...

{
  environment.systemPackages = with pkgs; [
    dtn7-nur.dtn7-go-unstable
  ];
}