Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.39 KB

README.md

File metadata and controls

42 lines (35 loc) · 1.39 KB

nur-packages

Dagger NUR repository

Build and populate cache

This is updated by GoReleaser Nixpkgs from within the dagger/dagger repository. GoReleaser runs in a dagger pipeline - see the code. The entire release process - including this Nix flake - is captured in Dagger's RELEASING documentation. If you have more questions, you can find us in our #nix Discord channel 👋

Usage

As flake

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

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