about summary refs log tree commit diff
path: root/users/edef/turbofetch/default.nix
blob: a98b2f0b433058ba1f289fba7a38c81be00fe147 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ 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.overrideAttrs {
  meta.ci.extraSteps.crate2nix-check = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix;
}