bb34210a64
This is not a core Tvix tool, it's a tool that uses a Tvix component. Change-Id: I705f2c4ab87f1512e005007c933e16b84ed4279f Reviewed-on: https://cl.tvl.fyi/c/depot/+/12605 Reviewed-by: edef <edef@edef.eu> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
11 lines
372 B
Nix
11 lines
372 B
Nix
{ pkgs, depot, ... }:
|
|
|
|
(pkgs.callPackage ./Cargo.nix {
|
|
defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
|
|
weave = prev: {
|
|
src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
|
|
};
|
|
};
|
|
}).rootCrate.build.overrideAttrs {
|
|
meta.ci.extraSteps.crate2nix-check = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
|
|
}
|