mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
docker: fix build with systemd 230
This commit is contained in:
parent
f7e7b814a9
commit
f0de1c75b5
@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional (btrfs-progs == null) "exclude_graphdriver_btrfs"
|
++ optional (btrfs-progs == null) "exclude_graphdriver_btrfs"
|
||||||
++ optional (devicemapper == null) "exclude_graphdriver_devicemapper";
|
++ 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 = ''
|
buildPhase = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
export AUTO_GOPATH=1
|
export AUTO_GOPATH=1
|
||||||
|
Loading…
Reference in New Issue
Block a user