398a9b5317
This is not a core Tvix tool, it's some sort of one-off analysis thing. Change-Id: I05fcbed45abad27d6b5cfd49db1727249dad3971 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12603 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: edef <edef@edef.eu>
15 lines
518 B
Nix
15 lines
518 B
Nix
{ pkgs, depot, lib, ... }:
|
|
|
|
(pkgs.callPackage ./Cargo.nix {
|
|
defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
|
|
crunch-v2 = prev: {
|
|
src = depot.tvix.utils.filterRustCrateSrc rec {
|
|
root = prev.src.origSrc;
|
|
extraFileset = lib.fileset.fileFilter (f: f.hasExt "proto") root;
|
|
};
|
|
nativeBuildInputs = [ pkgs.protobuf ];
|
|
};
|
|
};
|
|
}).rootCrate.build.overrideAttrs {
|
|
meta.ci.extraSteps.crate2nix-check = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
|
|
}
|