commit c1344adb3029165c1a61a22429e4934fbc6eb42a
parent 6ffd5548ebcbbf6e27ba93fd3f88264a4275c4cb
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 20 Sep 2024 22:54:59 +0200
flake.nix: add dagger flake (and package)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/flake.lock b/flake.lock
@@ -133,6 +133,26 @@
"type": "github"
}
},
+ "dagger": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1726685586,
+ "narHash": "sha256-QDZsswnExQwWhS/KfvjaSm9DG2gqmJUVMwNemSedekk=",
+ "owner": "dagger",
+ "repo": "nix",
+ "rev": "6085d224e396db78515a8dba93f7de51ed973a31",
+ "type": "github"
+ },
+ "original": {
+ "owner": "dagger",
+ "repo": "nix",
+ "type": "github"
+ }
+ },
"devenv": {
"inputs": {
"cachix": "cachix",
@@ -1350,6 +1370,7 @@
"buildkit-tekton": "buildkit-tekton",
"chapeau-rouge": "chapeau-rouge",
"chick-group": "chick-group",
+ "dagger": "dagger",
"devenv": "devenv",
"emacs-overlay": "emacs-overlay",
"flake-compat": "flake-compat_5",
diff --git a/flake.nix b/flake.nix
@@ -43,6 +43,7 @@
(_: prev: {
inherit (inputs.devenv.packages.${prev.system}) devenv;
inherit (inputs.buildkit-tekton.packages.${prev.system}) tkn-local;
+ inherit (inputs.dagger.packages.${prev.system}) dagger;
})
];
}
@@ -180,6 +181,7 @@
impermanence = { type = "github"; owner = "nix-community"; repo = "impermanence"; };
nixpkgs-wayland = { type = "github"; owner = "nix-community"; repo = "nixpkgs-wayland"; inputs.nixpkgs.follows = "nixpkgs"; };
+ dagger = { type = "github"; owner = "dagger"; repo = "nix"; inputs.nixpkgs.follows = "nixpkgs"; };
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
diff --git a/users/vincent/containers/default.nix b/users/vincent/containers/default.nix
@@ -11,6 +11,6 @@
# nerdctl
# act
oras
- # dagger – Remove due to trademark issues : https://github.com/NixOS/nixpkgs/issues/260848, will have to package myself
+ dagger
];
}