2024-07-09 16:51:01 +02:00
|
|
|
{ pkgs, depot, lib, ... }:
|
2024-01-17 17:04:03 +01:00
|
|
|
|
2024-07-09 16:51:01 +02:00
|
|
|
(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;
|
2024-01-17 17:04:03 +01:00
|
|
|
};
|
2024-07-09 16:51:01 +02:00
|
|
|
nativeBuildInputs = [ pkgs.protobuf ];
|
2024-01-17 17:04:03 +01:00
|
|
|
};
|
|
|
|
};
|
2024-08-23 19:12:58 +02:00
|
|
|
}).rootCrate.build.overrideAttrs {
|
|
|
|
meta.ci.extraSteps.crate2nix-check = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
|
|
|
|
}
|