1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 12:19:48 +01:00

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:
Damien Cassou 2020-06-06 22:08:02 +02:00 committed by Robert Helgesson
parent 2209d3cb51
commit 6f683d9726
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,12 @@
{ pkgs ? import <nixpkgs> { } }:
rec {
docs = with import ./doc { inherit pkgs; }; {
html = manual.html;
manPages = manPages;
json = options.json;
};
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
install =

View file

@ -1,6 +1,7 @@
{
{ pkgs
# Note, this should be "the standard library" + HM extensions.
lib, pkgs }:
, lib ? import ../modules/lib/stdlib-extended.nix pkgs.lib }:
let