https://github.com/dagger/nix
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dagger/nix
- Owner: dagger
- License: mit
- Created: 2023-10-27T10:49:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T15:51:49.000Z (9 months ago)
- Last Synced: 2025-04-11T18:02:26.650Z (9 months ago)
- Language: Nix
- Size: 87.9 KB
- Stars: 21
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nur-packages
**Dagger [NUR](https://github.com/nix-community/NUR) repository**

This is updated by [GoReleaser
Nixpkgs](https://goreleaser.com/customization/nix/) from within the
[dagger/dagger](https://github.com/dagger/dagger/blob/v0.12.4/.goreleaser.yml#L31-L48)
repository. GoReleaser runs in a `dagger` pipeline - [see the
code](https://github.com/dagger/dagger/blob/v0.12.4/dev/cli.go#L184-L196). The
entire release process - including this Nix flake - is captured in Dagger's
[RELEASING
documentation](https://github.com/dagger/dagger/blob/main/RELEASING.md). If
you have more questions, [you can find us in our `#nix` Discord
channel](https://discord.com/channels/707636530424053791/1122966469425233940) 👋
## Usage
### As flake
```nix
{
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 ];
};
});
}
```