docker: allow disabling btrfs and devicemapper

This commit is contained in:
Nathan Zadoks 2016-04-17 00:40:28 +02:00
parent d61a0e5c6f
commit ebdd600732

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 .