about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/shell.nix11
-rw-r--r--views/tvix/workspace.josh3
2 files changed, 12 insertions, 2 deletions
diff --git a/tvix/shell.nix b/tvix/shell.nix
index 75e64b88b2..422f1c8dd4 100644
--- a/tvix/shell.nix
+++ b/tvix/shell.nix
@@ -8,7 +8,16 @@
   pkgs ? (import ./nixpkgs {
     depotOverlays = false;
     depot.third_party.sources = import ./sources { };
-    additionalOverlays = [ ];
+    additionalOverlays = [
+      (self: super: {
+        # https://github.com/googleapis/google-cloud-go/pull/9665
+        cbtemulator = super.cbtemulator.overrideAttrs (old: {
+          patches = old.patches or [ ] ++ [
+            ./nixpkgs/cbtemulator-uds.patch
+          ];
+        });
+      })
+    ];
   })
 , ...
 }:
diff --git a/views/tvix/workspace.josh b/views/tvix/workspace.josh
index 58c83f861b..57d5f8a8c4 100644
--- a/views/tvix/workspace.josh
+++ b/views/tvix/workspace.josh
@@ -1,8 +1,9 @@
 :/third_party:[
-    ::nixpkgs/
+    ::nixpkgs/,
     ::sources/
 ]
 ::tvix:exclude[
     ::tvix/default.nix
     ::tvix/**/default.nix:exclude[::tvix/eval/src/tests/tvix_tests/directory/default.nix]
 ]:/tvix
+::third_party/overlays/patches/cbtemulator-uds.patch:/third_party/overlays/patches:prefix=nixpkgs