diff options
-rw-r--r-- | tvix/shell.nix | 11 | ||||
-rw-r--r-- | views/tvix/workspace.josh | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/tvix/shell.nix b/tvix/shell.nix index 75e64b88b2f9..422f1c8dd40a 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 58c83f861b20..57d5f8a8c44c 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 |