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

                               


                                                                                   

      


                                                                                     
{ 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;
}