mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
docker: enable journald support
This commit is contained in:
parent
a1be498630
commit
9c9a5353f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user