about summary refs log tree commit diff
path: root/tvix/tools/narinfo2parquet/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/tools/narinfo2parquet/default.nix')
-rw-r--r--tvix/tools/narinfo2parquet/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/tvix/tools/narinfo2parquet/default.nix b/tvix/tools/narinfo2parquet/default.nix
index 5a84d7f64287..0b486f08849a 100644
--- a/tvix/tools/narinfo2parquet/default.nix
+++ b/tvix/tools/narinfo2parquet/default.nix
@@ -1,3 +1,9 @@
-{ pkgs, ... }:
+{ pkgs, depot, ... }:
 
-(pkgs.callPackage ./Cargo.nix { }).rootCrate.build
+(pkgs.callPackage ./Cargo.nix {
+  defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
+    narinfo2parquet = prev: {
+      src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
+    };
+  };
+}).rootCrate.build