mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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:
parent
291d06d2ef
commit
725585cfca
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user