about summary refs log tree commit diff
diff options
context:
space:
mode:
-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    
+  ];
+}