summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ripple/shell.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/ripple/shell.nix b/ripple/shell.nix
index 03804c7..6c67ab5 100644
--- a/ripple/shell.nix
+++ b/ripple/shell.nix
@@ -4,6 +4,8 @@
 
 with import ./nix;
 
+let inherit (gcc) cc; in
+
 mkShell {
   packages = [
     cargo
@@ -20,4 +22,6 @@ mkShell {
 
   # needed by prost-build
   PROTOC = "protoc";
+
+  MINITRACE_CC1 = "${cc}/libexec/gcc/x86_64-unknown-linux-gnu/${cc.version}/cc1";
 }