home-manager: add documentation to root default.nix
This adds documentation related packages to default.nix to allow building documentation separately from building a Home Manager configuration.
This commit is contained in:
parent
2209d3cb51
commit
6f683d9726
|
@ -1,6 +1,12 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
docs = with import ./doc { inherit pkgs; }; {
|
||||||
|
html = manual.html;
|
||||||
|
manPages = manPages;
|
||||||
|
json = options.json;
|
||||||
|
};
|
||||||
|
|
||||||
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
||||||
|
|
||||||
install =
|
install =
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{ pkgs
|
||||||
|
|
||||||
# Note, this should be "the standard library" + HM extensions.
|
# Note, this should be "the standard library" + HM extensions.
|
||||||
lib, pkgs }:
|
, lib ? import ../modules/lib/stdlib-extended.nix pkgs.lib }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue