mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56: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:
parent
0877680b08
commit
d7ed70841a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue