about summary refs log tree commit diff
path: root/tvix/tools/turbofetch/default.nix
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-07-09T15·00+0200
committerclbot <clbot@tvl.fyi>2024-07-09T16·47+0000
commit52b8cf8d1f43732875c13d805d1f9540cea29a88 (patch)
tree02e378b9b6aa2bc7bd366e0165f045138913fe7c /tvix/tools/turbofetch/default.nix
parent716f5624fe8ae40f9d135a70140cb5307b800b84 (diff)
chore(tvix/tools/turbofetch): Regenerate Cargo.nix and filter src r/8363
The Cargo.lock also got changed because of crate2nix using --freezed.

Change-Id: I48cabe514e0cf1dd1f00870bcb7958a2a49663d5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11969
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Diffstat (limited to 'tvix/tools/turbofetch/default.nix')
-rw-r--r--tvix/tools/turbofetch/default.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/tvix/tools/turbofetch/default.nix b/tvix/tools/turbofetch/default.nix
index bd70f6a5e694..10f3d134138e 100644
--- a/tvix/tools/turbofetch/default.nix
+++ b/tvix/tools/turbofetch/default.nix
@@ -1,12 +1,9 @@
-{ lib, pkgs, ... }:
+{ pkgs, depot, ... }:
 
 (pkgs.callPackage ./Cargo.nix {
-  defaultCrateOverrides = pkgs.defaultCrateOverrides // {
-
-    ring = prev: {
-      links = ''ring_core_${lib.replaceStrings ["."] ["_"] prev.version}'';
+  defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // {
+    turbofetch = prev: {
+      src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
     };
   };
-}).rootCrate.build.override {
-  runTests = true;
-}
+}).rootCrate.build