diff options
author | Colin <colin@uninsane.org> | 2023-03-15 01:02:22 +0000 |
---|---|---|
committer | Colin <colin@uninsane.org> | 2023-04-12 22:11:26 +0000 |
commit | edcec44cc191fb6281e12538abe34534be88c056 (patch) | |
tree | 5bd182dd769df9a3e8f646f421dfba48977d1748 /pkgs/development/libraries/libqmi | |
parent | 514d2bfa2a548429c935d29b044cfa59bcb3cd18 (diff) |
libqmi: don't build manuals when cross compiling
Diffstat (limited to 'pkgs/development/libraries/libqmi')
-rw-r--r-- | pkgs/development/libraries/libqmi/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libqmi/default.nix b/pkgs/development/libraries/libqmi/default.nix index 05a44980f83cc..1a314563d4b87 100644 --- a/pkgs/development/libraries/libqmi/default.nix +++ b/pkgs/development/libraries/libqmi/default.nix @@ -22,7 +22,8 @@ stdenv.mkDerivation rec { pname = "libqmi"; version = "1.32.2"; - outputs = [ "out" "dev" "devdoc" ]; + outputs = [ "out" "dev" ] + ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ]; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; @@ -47,6 +48,7 @@ stdenv.mkDerivation rec { pkg-config gobject-introspection python3 + ] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ gtk-doc docbook-xsl-nons docbook_xml_dtd_43 @@ -68,6 +70,7 @@ stdenv.mkDerivation rec { "-Dudevdir=${placeholder "out"}/lib/udev" (lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform)) (lib.mesonBool "introspection" (stdenv.buildPlatform == stdenv.hostPlatform)) + (lib.mesonBool "man" (stdenv.buildPlatform == stdenv.hostPlatform)) ]; doCheck = true; |