awesome: generate docs, put in separate output

Especially useful when using non-release versions,
but good to have locally regardless.
This commit is contained in:
Will Dietz 2019-04-27 13:54:07 -05:00
parent 291d06d2ef
commit 725585cfca
2 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,7 @@
, xmlto, docbook_xml_dtd_45, docbook_xsl, findXMLCatalogs
, libxkbcommon, xcbutilxrm, hicolor-icon-theme
, asciidoctor
, fontsConf
}:
with luaPackages; stdenv.mkDerivation rec {
@ -27,8 +28,13 @@ with luaPackages; stdenv.mkDerivation rec {
xmlto docbook_xml_dtd_45
docbook_xsl findXMLCatalogs
asciidoctor
ldoc
];
outputs = [ "out" "doc" ];
FONTCONFIG_FILE = toString fontsConf;
propagatedUserEnvPkgs = [ hicolor-icon-theme ];
buildInputs = [ cairo librsvg dbus gdk_pixbuf gobject-introspection
git lgi libpthreadstubs libstartup_notification

View File

@ -16634,6 +16634,7 @@ in
awesome-4-0 = callPackage ../applications/window-managers/awesome {
cairo = cairo.override { xcbSupport = true; };
luaPackages = luaPackages.override { inherit lua; };
inherit (texFunctions) fontsConf;
};
awesome = awesome-4-0;