716f5624fe
The Cargo.lock also got changed because of crate2nix using --freezed. Change-Id: I90245bad27f6fee01455557bbccc865301a4f1a0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11968 Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
13 lines
414 B
Nix
13 lines
414 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
|