Unverified Commit bb5f1dbe authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

dockerTools: fix throw on invalid compressor (#455854)

parents 152e308c 90b1f66e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ let
  compressorForImage =
    compressor: imageName:
    compressors.${compressor}
      or (throw "in docker image ${imageName}: compressor must be one of: [${toString builtins.attrNames compressors}]");
      or (throw "in docker image ${imageName}: compressor must be one of: [${toString (builtins.attrNames compressors)}]");

in
rec {