about summary refs log tree commit diff
path: root/third_party/gtest
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-16T23·26+0100
committertazjin <mail@tazj.in>2020-07-17T02·59+0000
commita2870d05a31c6b0faaf43c24b98ffce4a09503d3 (patch)
tree98897500a40c58f0f0d69b93087f267c1d88d972 /third_party/gtest
parenta556913079c1936731243092fba5c5602655f5a0 (diff)
feat(3p/gtest): Bump version & override stdenv to libcxx r/1345
Change-Id: I19a34e80f51add5a7c6cde2650aae60c1919ad43
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1238
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/gtest')
-rw-r--r--third_party/gtest/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/gtest/default.nix b/third_party/gtest/default.nix
new file mode 100644
index 000000000000..6c2215fb7ad0
--- /dev/null
+++ b/third_party/gtest/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+
+(pkgs.originals.gtest.override {
+  stdenv = pkgs.llvmPackages.libcxxStdenv;
+}).overrideAttrs(_: {
+  src = pkgs.fetchFromGitHub {
+    owner = "google";
+    repo = "googletest";
+    rev = "a781fe29bcf73003559a3583167fe3d647518464";
+    sha256 = "0zny8kgbkslazzsnskygj3pkcj7l13xhgcwjyxswxymxq8m41kgy";
+  };
+})