1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06:01 +01:00

Modify docker.nix to use mapAttrsToList instead of mapAttrsFlatten

The latter alias is deprecated in favor of the former, and produces a
warning.

(cherry picked from commit cfc15d6921)
This commit is contained in:
PopeRigby 2025-06-03 13:26:09 -07:00 committed by Mergify
parent 0877680b08
commit d7ed70841a

View file

@ -155,7 +155,7 @@ let
nixConfContents =
(lib.concatStringsSep "\n" (
lib.mapAttrsFlatten (
lib.mapAttrsToList (
n: v:
let
vStr = if builtins.isList v then lib.concatStringsSep " " v else v;