about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-07-30T13·04+0300
committerclbot <clbot@tvl.fyi>2024-07-30T14·26+0000
commita595d409ded93dbdecfb78def37ba2903e22f323 (patch)
tree914dd70f0940e4542b323d713c6c67b25789621d
parent4277aa0db68c2288bb4beba2c2fa0dfcfa23c36c (diff)
fix(tvix/nar-bridge): filter src in utils.nix r/8431
Change-Id: I3c8956a50ecdcc53f882fb46ffdc221dd1515b1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12066
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
-rw-r--r--tvix/utils.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/utils.nix b/tvix/utils.nix
index 1548d4de05b6..dc40df5007ea 100644
--- a/tvix/utils.nix
+++ b/tvix/utils.nix
@@ -52,6 +52,10 @@
       ];
     in
     pkgs.defaultCrateOverrides // {
+      nar-bridge = prev: {
+        src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; };
+      };
+
       nix-compat = prev: {
         src = depot.tvix.utils.filterRustCrateSrc rec {
           root = prev.src.origSrc;