about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T20·03+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T20·03+0000
commite900c4279bbb868e30216830e87dc25cd5d6d489 (patch)
tree3e29ff2630ad5dcb061d59b4ad57d4b4bfff9bc5
parentc9c27e833cdae4c08cffb64de0c6af2532785d38 (diff)
feat(journaldriver): Add Naersk-based build configuration r/235
-rw-r--r--third_party/default.nix4
-rw-r--r--tools/journaldriver/default.nix9
2 files changed, 12 insertions, 1 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index 4bd3b92e22f3..dacf0c8ff36c 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -53,11 +53,12 @@ let
       mdbook
       moreutils
       nano
-      nix
       nginx
+      nix
       notmuch
       openssh
       openssl
+      pkgconfig
       protobuf
       remarshal
       rink
@@ -70,6 +71,7 @@ let
       stdenv
       stern
       symlinkJoin
+      systemd
       tdlib
       terraform_0_12
       thttpd
diff --git a/tools/journaldriver/default.nix b/tools/journaldriver/default.nix
new file mode 100644
index 000000000000..2df5e58fc8df
--- /dev/null
+++ b/tools/journaldriver/default.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+
+pkgs.third_party.naersk.buildPackage {
+  src = ./.;
+
+  buildInputs = with pkgs.third_party; [
+    pkgconfig openssl systemd.dev    
+  ];
+}