Skip to content

Commit 681ee28

Browse files
authored
chore: Update flake.nix (#2346)
1 parent fc5c540 commit 681ee28

File tree

2 files changed

+28
-21
lines changed

2 files changed

+28
-21
lines changed

flake.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
packages = with pkgs; [
5757
nixd
5858
nixfmt
59+
bazel_7
5960

6061
(rustToolchain.withComponents [
6162
"cargo"
@@ -67,6 +68,12 @@
6768
])
6869
protobuf
6970
];
71+
72+
shellHook = ''
73+
# export PATH="$(pwd)/bazel-bin/src/:$PATH"
74+
export PLUGIN_PATH="protoc-gen-rust-grpc/bazel-bin/src/protoc-gen-rust-grpc"
75+
export PATH="protoc-gen-rust-grpc/bazel-bin/src:$PATH"
76+
'';
7077
};
7178
};
7279
};

0 commit comments

Comments
 (0)