mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
docker-tool: fix maxLayers assert
This commit is contained in:
parent
5b4a8db4d9
commit
6cecfd8ad7
@ -931,7 +931,7 @@ rec {
|
||||
debug ? false
|
||||
}:
|
||||
assert
|
||||
(lib.assertMsg (layeringPipeline == null && maxLayers > 1)
|
||||
(lib.assertMsg (layeringPipeline == null -> maxLayers > 1)
|
||||
"the maxLayers argument of dockerTools.buildLayeredImage function must be greather than 1 (current value: ${toString maxLayers})");
|
||||
assert
|
||||
(lib.assertMsg (enableFakechroot -> !stdenv.hostPlatform.isDarwin) ''
|
||||
|
Loading…
Reference in New Issue
Block a user