diff --git a/shell.nix b/shell.nix index 219e655a82..2fbc56f14c 100644 --- a/shell.nix +++ b/shell.nix @@ -15,6 +15,13 @@ stdenv.mkDerivation { cmake protobuf go + grpc ]; + + # grpc otherwise fails since it's bulit with `-Wall` + hardeningDisable = [ "all" ]; + + GRPCIO_SYS_USE_PKG_CONFIG = 1; + NIX_LDFLAGS = "-L${libmysqlclient}/lib/mysql"; }