git.iko.soy/typeable/nixpkgs
on master help sign in
docker: fix build with systemd 230
commitf0de1c75b5241544eb80e05a0ed60acc6a1e27f8 authorobadz <obadz-git@obadz.com> dateFri 27 May 2016, 15:41 (11 years ago) parentf7e7b81
1 file changed+6
pkgs/applications/virtualization/docker/default.nix+6
pkgs/applications/virtualization/docker/default.nix+6
@@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
3030 ++ optional (btrfs-progs == null) "exclude_graphdriver_btrfs"
3131 ++ optional (devicemapper == null) "exclude_graphdriver_devicemapper";
3232
33+ # systemd 230 no longer has libsystemd-journal as a separate entity from libsystemd
34+ postPatch = ''
35+ substituteInPlace ./hack/make.sh --replace libsystemd-journal libsystemd
36+ substituteInPlace ./daemon/logger/journald/read.go --replace libsystemd-journal libsystemd
37+ '';
38+
3339 buildPhase = ''
3440 patchShebangs .
3541 export AUTO_GOPATH=1