Skip to content

The NSV Nix NUR (Nix User Repository)

License

Notifications You must be signed in to change notification settings

purpleclay/nsv-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The NSV Nix NUR (Nix User Repository)

Resources

License

Stars

Watchers

Forks