1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

Modify docker.nix to use mapAttrsToList instead of mapAttrsFlatten

The latter alias is deprecated in favor of the former, and produces a
warning.
This commit is contained in:
PopeRigby 2025-06-03 13:26:09 -07:00
parent 4b8f74b3a3
commit cfc15d6921

View file

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