9b6497e5da
* //third_party/{abseil_cpp, grpc}: fix linker problem by passing the C++ standard to use explicitly. nixpkgs upstream stopped passing this to abseil between bumps and the way this problem manifests itself is linker errors, because… C++, I suppose. Change-Id: I932ea70befee90984ae2e575dfc23f5c601cd289 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3769 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi>
31 lines
696 B
Nix
31 lines
696 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
let inherit (pkgs) cmake fullLlvm11Stdenv;
|
|
in pkgs.abseil-cpp.override {
|
|
stdenv = fullLlvm11Stdenv;
|
|
cxxStandard = "17";
|
|
}
|
|
|
|
/* TODO(tazjin): update abseil subtree
|
|
|
|
fullLlvm11Stdenv.mkDerivation rec {
|
|
pname = "abseil-cpp";
|
|
version = "20200519-768eb2ca+tvl-1";
|
|
src = ./.;
|
|
nativeBuildInputs = [ cmake ];
|
|
# TODO: run tests
|
|
# doCheck = true;
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_CXX_STANDARD=17"
|
|
#"-DABSL_RUN_TESTS=1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "An open-source collection of C++ code designed to augment the C++ standard library";
|
|
homepage = https://abseil.io/;
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.andersk ];
|
|
};
|
|
}
|
|
*/
|