From bff499113e4226707fac428b9aa435e31f2a2da9 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 13 Jan 2020 22:34:38 +0100 Subject: manual: note deprecation of list values for file options In particular, this entry notes that assigning lists to `home.file`, `xdg.configFile`, and `xdg.dataFile` is deprecated and will be removed in the next release. --- doc/release-notes/rl-2003.adoc | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'doc/release-notes') diff --git a/doc/release-notes/rl-2003.adoc b/doc/release-notes/rl-2003.adoc index b98428dbe47..29024205610 100644 --- a/doc/release-notes/rl-2003.adoc +++ b/doc/release-notes/rl-2003.adoc @@ -9,7 +9,32 @@ section is therefore not final. This release has the following notable changes: -* Nothing has happened. +* Assigning a list to the <>, <>, +and <> options is now deprecated and will produce a +warning message if used. Specifically, if your configuration currently +contains something like ++ +[source,nix] +---- +home.file = [ + { + target = ".config/foo.txt"; + text = "bar"; + } +] +---- ++ +then it should be updated to instead use the equivalent attribute set form ++ +[source,nix] +---- +home.file = { + ".config/foo.txt".text = "bar"; +} +---- ++ +Support for the list form will be removed in Home Manager version +20.09. [[sec-release-20.03-state-version-changes]] === State Version Changes -- cgit v1.2.3