libqmi: don't build manuals when cross compiling
This commit is contained in:
parent
514d2bfa2a
commit
edcec44cc1
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
pname = "libqmi";
|
pname = "libqmi";
|
||||||
version = "1.32.2";
|
version = "1.32.2";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" ]
|
||||||
|
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.freedesktop.org";
|
domain = "gitlab.freedesktop.org";
|
||||||
|
@ -47,6 +48,7 @@ stdenv.mkDerivation rec {
|
||||||
pkg-config
|
pkg-config
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
python3
|
python3
|
||||||
|
] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
|
||||||
gtk-doc
|
gtk-doc
|
||||||
docbook-xsl-nons
|
docbook-xsl-nons
|
||||||
docbook_xml_dtd_43
|
docbook_xml_dtd_43
|
||||||
|
@ -68,6 +70,7 @@ stdenv.mkDerivation rec {
|
||||||
"-Dudevdir=${placeholder "out"}/lib/udev"
|
"-Dudevdir=${placeholder "out"}/lib/udev"
|
||||||
(lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
|
(lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||||
(lib.mesonBool "introspection" (stdenv.buildPlatform == stdenv.hostPlatform))
|
(lib.mesonBool "introspection" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||||
|
(lib.mesonBool "man" (stdenv.buildPlatform == stdenv.hostPlatform))
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue