about summary refs log tree commit diff
path: root/fun/dt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'fun/dt/default.nix')
-rw-r--r--fun/dt/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/fun/dt/default.nix b/fun/dt/default.nix
new file mode 100644
index 000000000000..a1a82d361b38
--- /dev/null
+++ b/fun/dt/default.nix
@@ -0,0 +1,14 @@
+{ depot, pkgs, ... }:
+
+let
+  stdenv = with pkgs; overrideCC clangStdenv clang_9;
+  abseil_cpp = pkgs.abseil_cpp.override { inherit stdenv; };
+in stdenv.mkDerivation {
+  name = "dt";
+  src = ./.;
+  nativeBuildInputs = [ pkgs.cmake ];
+  buildInputs = with pkgs; [
+    abseil_cpp
+    farmhash
+  ];
+}