about summary refs log tree commit diff
path: root/users/edef/weave/default.nix
blob: 3d979b6d33276bb0eed5cabe0e711e04384523f6 (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) // {
    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;
}