nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

grpc: build shared libs, fixes #58375

(cherry picked from commit 93d61e5c23de9e752b5ca43aa37d451fd098ba88)

authored by

Frederik Rietdijk and committed by
Bjørn Forsman
35484898 41c31b90

+5
+5
pkgs/development/libraries/grpc/default.nix
··· 18 18 "-DgRPC_SSL_PROVIDER=package" 19 19 "-DgRPC_PROTOBUF_PROVIDER=package" 20 20 "-DgRPC_GFLAGS_PROVIDER=package" 21 + "-DBUILD_SHARED_LIBS=ON" 21 22 ]; 22 23 23 24 # CMake creates a build directory by default, this conflicts with the 24 25 # basel BUILD file on case-insensitive filesystems. 25 26 preConfigure = '' 26 27 rm -vf BUILD 28 + ''; 29 + 30 + preBuild = '' 31 + export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH 27 32 ''; 28 33 29 34 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option";