about summary refs log tree commit diff
path: root/users/picnoir/tvix-daemon
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-08-23T17·16+0300
committerclbot <clbot@tvl.fyi>2024-08-23T19·55+0000
commit8b624f93bf05d061dba2cd9e7793d9ebf183a4a1 (patch)
treeee58b2bc42893b8fe0d706d4bc850443765b448d /users/picnoir/tvix-daemon
parente7ff04b5f1f36b3cee6395a68ba0d927dead69f6 (diff)
feat(users/picnoir/tvix-daemon): Add crate2nix-check r/8572
Change-Id: I92a2fd6369e1f45c8afa25f778ac424782699b55
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12304
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/picnoir/tvix-daemon')
-rw-r--r--users/picnoir/tvix-daemon/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/picnoir/tvix-daemon/default.nix b/users/picnoir/tvix-daemon/default.nix
index 78b9aa9a1d1c..d970ac3608f3 100644
--- a/users/picnoir/tvix-daemon/default.nix
+++ b/users/picnoir/tvix-daemon/default.nix
@@ -36,8 +36,18 @@ in
 
     buildPhase = "cargo clippy --tests --all-features --benches --examples | tee $out";
   };
+  crate2nix-check =
+    let
+      crate2nix-check = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
+    in
+    crate2nix-check.command.overrideAttrs {
+      meta.ci.extraSteps = {
+        inherit crate2nix-check;
+      };
+    };
   meta.ci.targets = [
     "tvix-daemon"
     "shell"
+    "crate2nix-check"
   ];
 }