/nsv-nix

The NSV Nix NUR (Nix User Repository)

Primary LanguageNixMIT LicenseMIT

NSV NUR

This is managed by GoReleaser Nixpkgs from within the purpleclay/nsv repository.

Usage

Modify your flake.nix file to include a reference to this NUR:

{
  inputs = {
    nixpkgs.url = "nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";

    nsv = {
      url = "github:purpleclay/nsv-nix";
      inputs = {
        nixpkgs.follows = "nixpkgs";
      };
    };
  };

  outputs = { self, nixpkgs, flake-utils, nsv }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs {
          inherit system;
        };
      in
      with pkgs;
      {
        devShells.default = mkShell {
          buildInputs = [
            nsv.packages.${system}.nsv
          ];
        };
      }
    );
}

Build and populate cache