pkgs.lib -> lib
This commit is contained in:
parent
6cf861c617
commit
dcd50c0ea0
@ -100,7 +100,7 @@ let
|
|||||||
=== details
|
=== details
|
||||||
|
|
||||||
Type:: ${value.type}
|
Type:: ${value.type}
|
||||||
${ if pkgs.lib.hasAttr "default" value
|
${ if lib.hasAttr "default" value
|
||||||
then ''
|
then ''
|
||||||
Default::
|
Default::
|
||||||
+
|
+
|
||||||
@ -114,7 +114,7 @@ let
|
|||||||
then "Read Only:: {blank}"
|
then "Read Only:: {blank}"
|
||||||
else ""
|
else ""
|
||||||
}
|
}
|
||||||
${ if pkgs.lib.hasAttr "example" value
|
${ if lib.hasAttr "example" value
|
||||||
then ''
|
then ''
|
||||||
Example::
|
Example::
|
||||||
+
|
+
|
||||||
@ -129,7 +129,7 @@ let
|
|||||||
in rec {
|
in rec {
|
||||||
inherit optionsNix;
|
inherit optionsNix;
|
||||||
|
|
||||||
optionsAsciiDoc = pkgs.lib.concatStringsSep "\n" (pkgs.lib.mapAttrsToList singleAsciiDoc optionsNix);
|
optionsAsciiDoc = lib.concatStringsSep "\n" (lib.mapAttrsToList singleAsciiDoc optionsNix);
|
||||||
|
|
||||||
optionsJSON = pkgs.runCommand "options.json"
|
optionsJSON = pkgs.runCommand "options.json"
|
||||||
{ meta.description = "List of NixOS options in JSON format";
|
{ meta.description = "List of NixOS options in JSON format";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user