diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2024-07-09T15·15+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-07-09T16·47+0000 |
commit | 64fd1d3e56cb0edcbe77227cf18ca8425438a68a (patch) | |
tree | b4dd91ca317ae2bbdae6c1bbdbb7310c918870b0 /tvix/tools/weave/default.nix | |
parent | 52b8cf8d1f43732875c13d805d1f9540cea29a88 (diff) |
chore(tvix/tools/weave): Regenerate Cargo.nix and filter src r/8364
The Cargo.lock also got changed because of crate2nix using --freezed. Change-Id: I79b062eddb13f59c4656a62735df1e527fc91a44 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11970 Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/tools/weave/default.nix')
-rw-r--r-- | tvix/tools/weave/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tvix/tools/weave/default.nix b/tvix/tools/weave/default.nix index 5a84d7f64287..8c5e1be928d1 100644 --- a/tvix/tools/weave/default.nix +++ b/tvix/tools/weave/default.nix @@ -1,3 +1,9 @@ -{ pkgs, ... }: +{ pkgs, depot, ... }: -(pkgs.callPackage ./Cargo.nix { }).rootCrate.build +(pkgs.callPackage ./Cargo.nix { + defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // { + weave = prev: { + src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; }; + }; + }; +}).rootCrate.build |