1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 05:51:05 +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 bab4e58a5e
commit 556b71d6c0

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;