about summary refs log tree commit diff
path: root/users/edef/narinfo2parquet/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/edef/narinfo2parquet/default.nix')
-rw-r--r--users/edef/narinfo2parquet/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/edef/narinfo2parquet/default.nix b/users/edef/narinfo2parquet/default.nix
new file mode 100644
index 000000000000..dfe2b66655c8
--- /dev/null
+++ b/users/edef/narinfo2parquet/default.nix
@@ -0,0 +1,11 @@
+{ pkgs, depot, ... }:
+
+(pkgs.callPackage ./Cargo.nix {
+  defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
+    narinfo2parquet = prev: {
+      src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
+    };
+  };
+}).rootCrate.build.overrideAttrs {
+  meta.ci.extraSteps.crate2nix = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
+}