about summary refs log tree commit diff
path: root/tvix/tools/narinfo2parquet/default.nix
blob: dfe2b66655c8d03eac139176058a8a09c66ac035 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
}