Skip to content

Commit

Permalink
add protoc to nix flake packages (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrubek authored Sep 19, 2022
1 parent 860c414 commit 730c535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions flake-parts/lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ in {
with pkgs; [
clang
openssl
protobuf
];
};
}
2 changes: 2 additions & 0 deletions flake-parts/packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
BINDGEN_EXTRA_CLANG_ARGS = "-isystem ${pkgs.llvmPackages.libclang.lib}/lib/clang/${lib.getVersion pkgs.clang}/include";
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
PROTOC = "${pkgs.protobuf}/bin/protoc";
PROTOC_INCLUDE = "${pkgs.protobuf}/include";
};
server_image = pkgs.dockerTools.buildLayeredImage {
name = "glaredb";
Expand Down

0 comments on commit 730c535

Please sign in to comment.