knightos: reduce build time dependency graph

Using asciidoc-full was unnecessary to build KnightOS-related packages
since only the a2x command matters. This change makes
cross-compilation far more noticeably faster. Closure size for each
package reduced from around 7 MB to 2 MB.
This commit is contained in:
Ben Siraphob
2021-02-17 19:21:22 +07:00
parent bf11a28bd3
commit d03a9c48fb
10 changed files with 32 additions and 32 deletions
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, libxslt, docbook_xsl }:
{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, libxslt }:
stdenv.mkDerivation rec {
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
sha256 = "0yc4q7n3k7k6rx3cxq5ddd5r0la8gw1287a74kql6gwkxjq0jmcv";
};
nativeBuildInputs = [ cmake asciidoc docbook_xsl ];
strictDeps = true;
buildInputs = [ libxslt ];
nativeBuildInputs = [ asciidoc cmake libxslt.bin ];
hardeningDisable = [ "format" ];