Skip to content

Commit

Permalink
build: add abseil-cpp dependency to Nix devenv
Browse files Browse the repository at this point in the history
After 8635d24 commit, the abseil submodule was removed in favor of
using pre-built abseil distribution. Installation of abseil-cpp was
added to install-dependencies.sh and dbuild image, but no change was
made to the Nix development environment, which resulted in error
while executing ./configure.py (while in Nix devenv):

  Package absl_raw_hash_set was not found in the pkg-config search path.
  Perhaps you should add the directory containing `absl_raw_hash_set.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'absl_raw_hash_set' found

Fix the issue by adding "abseil-cpp" to buildInputs in default.nix.
  • Loading branch information
avelanarius committed Jan 19, 2023
1 parent aab5954 commit fbc042f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ in derive ({
] ++ (devInputs { inherit pkgs llvm; });

buildInputs = with pkgs; [
abseil-cpp
antlr3
boost
c-ares
Expand Down

0 comments on commit fbc042f

Please sign in to comment.