Skip to content

Commit 4777452

Browse files
committed
Add protobuf to common packages and export PROTOC on macOS in nix flake
1 parent 54e9ea0 commit 4777452

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
gnumake
2828
gnused
2929
rsync
30+
protobuf
3031
(python3.withPackages (ps: with ps; [
3132
pip toml tomli jinja2 markdown markupsafe pygments typogrify
3233
]))
@@ -36,7 +37,6 @@
3637
gtk3 glib openssl xz clang libgcrypt gobject-introspection
3738
llvmPackages.libclang
3839
llvmPackages.clang
39-
protobuf
4040
opencv
4141
sysprof
4242
libsysprof-capture
@@ -113,6 +113,7 @@
113113
export STRIP=/usr/bin/strip
114114
115115
export BINDGEN_EXTRA_CLANG_ARGS="-isysroot $SDKROOT"
116+
export PROTOC="${pkgs.protobuf}/bin/protoc"
116117
117118
mkdir -p .nix-bin
118119
ln -sf /usr/bin/clang .nix-bin/cc

0 commit comments

Comments
 (0)