docker: fix build with systemd 230

This commit is contained in:
obadz 2016-05-27 15:41:05 +01:00
parent f7e7b814a9
commit f0de1c75b5

View file

@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
++ optional (btrfs-progs == null) "exclude_graphdriver_btrfs"
++ optional (devicemapper == null) "exclude_graphdriver_devicemapper";
# systemd 230 no longer has libsystemd-journal as a separate entity from libsystemd
postPatch = ''
substituteInPlace ./hack/make.sh --replace libsystemd-journal libsystemd
substituteInPlace ./daemon/logger/journald/read.go --replace libsystemd-journal libsystemd
'';
buildPhase = ''
patchShebangs .
export AUTO_GOPATH=1