about summary refs log tree commit diff
path: root/tvix/tools/turbofetch/default.nix
blob: 10f3d134138e4db592903410e0141fcaeafba905 (plain) (blame)
1
2
3
4
5
6
7
8
9
{ pkgs, depot, ... }:

(pkgs.callPackage ./Cargo.nix {
  defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
    turbofetch = prev: {
      src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
    };
  };
}).rootCrate.build