7e8a48c82c
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>
21 lines
474 B
Nix
21 lines
474 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
let inherit (pkgs) llvmPackages cmake;
|
|
in llvmPackages.libcxxStdenv.mkDerivation {
|
|
name = "glog";
|
|
version = "20200527-unstable";
|
|
src = ./.;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
cmakeFlags = [
|
|
"-DCMAKE_CXX_STANDARD=17"
|
|
"-WITH_GFLAGS=OFF"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/google/glog";
|
|
license = licenses.bsd3;
|
|
description = "Library for application-level logging";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|