about summary refs log tree commit diff
path: root/tvix/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-16T13·32+0100
committerflokli <flokli@flokli.de>2023-10-16T16·08+0000
commite0e3dc08a968bd2f47b8d5665e43f0c85ae2427b (patch)
tree37a76f8b4a97bfd43b029d706b3f7bdbd9b81a56 /tvix/default.nix
parent0f44451919974d72a5e75f9672a4928f9d84f99e (diff)
fix(tvix/cli): don't use protobuf from pkgs, but pkgs.buildPackages r/6839
We need to invoke protoc at build time (only).

Change-Id: Ib4c101d2ccdbdbb078725fc98c30d6c00086667d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9754
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/default.nix')
-rw-r--r--tvix/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/default.nix b/tvix/default.nix
index b164bb22a22f..dfb9f414373a 100644
--- a/tvix/default.nix
+++ b/tvix/default.nix
@@ -3,7 +3,7 @@
 
 let
   # crate override for crates that need protobuf
-  protobufDep = prev: (prev.nativeBuildInputs or [ ]) ++ [ pkgs.protobuf ];
+  protobufDep = prev: (prev.nativeBuildInputs or [ ]) ++ [ pkgs.buildPackages.protobuf ];
   iconvDarwinDep = lib.optional pkgs.stdenv.isDarwin pkgs.libiconv;
 
   # On Darwin, some crates producing binaries need to be able to link against security.