forked from mirrors/nixpkgs
docker: remove enableLxc parameter
LXC support was removed in Docker 1.4 (November 2015), and isn't coming back.
This commit is contained in:
parent
ad29b72686
commit
99177c7377
|
@ -2,7 +2,6 @@
|
|||
, go, sqlite, iproute, bridge-utils, devicemapper
|
||||
, btrfs-progs, iptables, e2fsprogs, xz, utillinux
|
||||
, systemd, pkgconfig
|
||||
, enableLxc ? false, lxc
|
||||
}:
|
||||
|
||||
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md
|
||||
|
@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||
install -Dm755 ./bundles/${version}/dynbinary/docker-${version} $out/libexec/docker/docker
|
||||
install -Dm755 ./bundles/${version}/dynbinary/dockerinit-${version} $out/libexec/docker/dockerinit
|
||||
makeWrapper $out/libexec/docker/docker $out/bin/docker \
|
||||
--prefix PATH : "${iproute}/sbin:sbin:${iptables}/sbin:${e2fsprogs}/sbin:${xz.bin}/bin:${utillinux}/bin:${optionalString enableLxc "${lxc}/bin"}"
|
||||
--prefix PATH : "${iproute}/sbin:sbin:${iptables}/sbin:${e2fsprogs}/sbin:${xz.bin}/bin:${utillinux}/bin"
|
||||
|
||||
# systemd
|
||||
install -Dm644 ./contrib/init/systemd/docker.service $out/etc/systemd/system/docker.service
|
||||
|
|
Loading…
Reference in a new issue