From b4703e11afbc188397e2f49e3fad96b5b1502957 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 17 Dec 2021 02:40:41 +0300 Subject: [PATCH] docker: only add rootless dependencies for the server Co-authored-by: Robert Hensing --- pkgs/applications/virtualization/docker/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix index 3bea9f447668..a6c94bf89144 100644 --- a/pkgs/applications/virtualization/docker/default.nix +++ b/pkgs/applications/virtualization/docker/default.nix @@ -77,7 +77,7 @@ rec { extraPath = optionals (stdenv.isLinux) (makeBinPath [ iproute2 iptables e2fsprogs xz xfsprogs procps util-linux git ]); - extraUserPath = optionals (stdenv.isLinux) (makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]); + extraUserPath = optionals (stdenv.isLinux && !clientOnly) (makeBinPath [ rootlesskit slirp4netns fuse-overlayfs ]); postPatch = '' patchShebangs hack/make.sh hack/make/