git.iko.soy/typeable/nixpkgs
on master help sign in
udisks2: disable docs when cross-compiling
commit101947774c8aea770c650b7d3b78d50c63215742 authorNick Spinale <nick@nickspinale.com> dateSat 14 Sep 2019, 12:53 (7 years ago) parente39d627
1 file changed+2−2
pkgs/os-specific/linux/udisks/2-default.nix+2−2
pkgs/os-specific/linux/udisks/2-default.nix+2−2
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 sha256 = "01wx2x8xyal595dhdih7rva2bz7gqzgwdp56gi0ikjdzayx17wcf";
1717 };
1818
19− outputs = [ "out" "man" "dev" "devdoc" ];
19+ outputs = [ "out" "man" "dev" ] ++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc";
2020
2121 patches = [
2222 (substituteAll {
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
5757 preConfigure = "NOCONFIGURE=1 ./autogen.sh";
5858
5959 configureFlags = [
60− "--enable-gtk-doc"
60+ (stdenv.lib.enableFeature (stdenv.buildPlatform == stdenv.hostPlatform) "gtk-doc")
6161 "--localstatedir=/var"
6262 "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
6363 "--with-udevdir=$(out)/lib/udev"