I couldn't find any alternative to setting _gRPC_PROTOBUF_PROTOC_EXECUTABLE.
protobuf.cmake uses find_program when cross-compiling, which finds the
host platform's protoc instead of the build platform's. I even tried
giving protobuf multiple outputs and not including the one with the
binary in buildInputs, but it didn't help.
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted. (See #67234, for
example.) Fix this throughout the tree.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/grpc/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/check_epollexclusive -h’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/check_epollexclusive --help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/check_epollexclusive help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_hpack_tables -h’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_hpack_tables --help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_hpack_tables help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_legal_metadata_characters -h’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_legal_metadata_characters --help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_legal_metadata_characters help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_percent_encoding_tables -h’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_percent_encoding_tables --help’ got 0 exit code
- ran ‘/nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1/bin/gen_percent_encoding_tables help’ got 0 exit code
- found 1.10.1 with grep in /nix/store/w2ilavnccdbnkb9dzh3md863fqmdjdbw-grpc-1.10.1
- directory tree listing: https://gist.github.com/dc70d4a21aaa0b79ffe8dca6d80841f0