From 9c9a5353f97e17d055a4197d97cc85724059a50b Mon Sep 17 00:00:00 2001 From: Nathan Zadoks Date: Thu, 14 Jan 2016 03:40:26 +0100 Subject: [PATCH] docker: enable journald support --- pkgs/applications/virtualization/docker/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix index 1d9b1737f652..31daedd6d1eb 100644 --- a/pkgs/applications/virtualization/docker/default.nix +++ b/pkgs/applications/virtualization/docker/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchFromGitHub, makeWrapper , go, sqlite, iproute, bridge-utils, devicemapper , btrfs-progs, iptables, e2fsprogs, xz, utillinux +, systemd, pkgconfig , enableLxc ? false, lxc }: @@ -21,11 +22,13 @@ stdenv.mkDerivation rec { buildInputs = [ makeWrapper go sqlite iproute bridge-utils devicemapper btrfs-progs - iptables e2fsprogs + iptables e2fsprogs systemd pkgconfig ]; dontStrip = true; + DOCKER_BUILDTAGS = [ "journald" ]; + buildPhase = '' patchShebangs . export AUTO_GOPATH=1