Merge pull request #14767 from nathan7/docker-optional-graphdrivers

docker: allow disabling btrfs and devicemapper
This commit is contained in:
Benjamin Staffin 2016-04-16 15:56:20 -07:00
commit d83c0c4a02

View file

@ -27,7 +27,9 @@ stdenv.mkDerivation rec {
dontStrip = true;
DOCKER_BUILDTAGS = [ "journald" ];
DOCKER_BUILDTAGS = [ "journald" ]
++ optional (btrfs-progs == null) "exclude_graphdriver_btrfs"
++ optional (devicemapper == null) "exclude_graphdriver_devicemapper";
buildPhase = ''
patchShebangs .