From 06aacbdde07209337c1faad0e0763d3c093400c6 Mon Sep 17 00:00:00 2001 From: edef Date: Mon, 7 Feb 2022 23:37:33 +0000 Subject: ripple/shell.nix: make cc1 available for minitrace testing Change-Id: Ie88130942865aa73bbdd9a3ddd71d9f5ef5914ab --- ripple/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) 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"; } -- cgit 1.4.1