fix(3p/nix): Link to glog built by Nix
Same as cl/921, it seems that the trick to making this work is indeed overriding the C++ standard used in the dependency. Change-Id: I3c5984d71014d774c161ecc283844f504fd44719 Reviewed-on: https://cl.tvl.fyi/c/depot/+/922 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
5cb6e6ee21
commit
7e8a48c82c
4 changed files with 7 additions and 14 deletions
5
third_party/glog/default.nix
vendored
5
third_party/glog/default.nix
vendored
|
|
@ -7,7 +7,10 @@ in llvmPackages.libcxxStdenv.mkDerivation {
|
|||
src = ./.;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
cmakeFlags = [ "-WITH_GFLAGS=OFF" ];
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_CXX_STANDARD=17"
|
||||
"-WITH_GFLAGS=OFF"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/google/glog";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue