pkgs.lib -> lib

othernimblestuff
Domen Kožar 3 years ago
parent 6cf861c617
commit dcd50c0ea0
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246
  1. 6
      nixos/lib/make-options-doc/default.nix

@ -100,7 +100,7 @@ let
=== details
Type:: ${value.type}
${ if pkgs.lib.hasAttr "default" value
${ if lib.hasAttr "default" value
then ''
Default::
+
@ -114,7 +114,7 @@ let
then "Read Only:: {blank}"
else ""
}
${ if pkgs.lib.hasAttr "example" value
${ if lib.hasAttr "example" value
then ''
Example::
+
@ -129,7 +129,7 @@ let
in rec {
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"
{ meta.description = "List of NixOS options in JSON format";

Loading…
Cancel
Save