about summary refs log blame commit diff
path: root/users/edef/fetchroots/default.nix
blob: 2b655ee9c3e96831eb94f33d4371b5dac4704e48 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                   
{ pkgs, depot, ... }:

(pkgs.callPackage ./Cargo.nix {
  defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
    fetchroots = prev: {
      src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
    };
  };
}).rootCrate.build.overrideAttrs {
  meta.ci.extraSteps.crate2nix = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
}