lib/file-type: remove types.loaOf
loaOf has been deprecated for a long time and is now in the process of removal (see https://github.com/NixOS/nixpkgs/pull/96042). Thus, we remove it here, too.
This commit is contained in:
parent
4b702bf6b7
commit
0399839271
|
@ -5,7 +5,7 @@ The 19.03 release branch became the stable branch in April, 2019.
|
||||||
|
|
||||||
[[sec-release-19.03-highlights]]
|
[[sec-release-19.03-highlights]]
|
||||||
=== Highlights
|
=== Highlights
|
||||||
:opt-home-file-source: opt-home.file._name__.source
|
:opt-home-file-source: opt-home.file._name_.source
|
||||||
|
|
||||||
This release has the following notable changes:
|
This release has the following notable changes:
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ with lib;
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# - basePathDesc docbook compatible description of the base path
|
# - basePathDesc docbook compatible description of the base path
|
||||||
# - basePath the file base path
|
# - basePath the file base path
|
||||||
fileType = basePathDesc: basePath: types.loaOf (types.submodule (
|
fileType = basePathDesc: basePath: types.attrsOf (types.submodule (
|
||||||
{ name, config, ... }: {
|
{ name, config, ... }: {
|
||||||
options = {
|
options = {
|
||||||
target = mkOption {
|
target = mkOption {
|
||||||
|
@ -32,7 +32,7 @@ with lib;
|
||||||
type = types.nullOr types.lines;
|
type = types.nullOr types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
Text of the file. If this option is null then
|
Text of the file. If this option is null then
|
||||||
<link linkend="opt-home.file._name__.source">home.file.<name?>.source</link>
|
<link linkend="opt-home.file._name_.source">home.file.<name?>.source</link>
|
||||||
must be set.
|
must be set.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -41,7 +41,7 @@ with lib;
|
||||||
type = types.path;
|
type = types.path;
|
||||||
description = ''
|
description = ''
|
||||||
Path of the source file or directory. If
|
Path of the source file or directory. If
|
||||||
<link linkend="opt-home.file._name__.text">home.file.<name?>.text</link>
|
<link linkend="opt-home.file._name_.text">home.file.<name?>.text</link>
|
||||||
is non-null then this option will automatically point to a file
|
is non-null then this option will automatically point to a file
|
||||||
containing that text.
|
containing that text.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue