diff options
author | Nick Spinale <nick@nickspinale.com> | 2019-09-14 12:53:04 +0000 |
---|---|---|
committer | Nick Spinale <nick@nickspinale.com> | 2019-09-17 23:09:55 +0000 |
commit | 101947774c8aea770c650b7d3b78d50c63215742 (patch) | |
tree | b3205c89969cb6bd4d105d36258034eef6c7ede2 | |
parent | e39d627a122de18e9b133e8f4c0ed3e006cbde5d (diff) |
udisks2: disable docs when cross-compiling
-rw-r--r-- | pkgs/os-specific/linux/udisks/2-default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/udisks/2-default.nix b/pkgs/os-specific/linux/udisks/2-default.nix index e99e9e37d823..1d967b38eb96 100644 --- a/pkgs/os-specific/linux/udisks/2-default.nix +++ b/pkgs/os-specific/linux/udisks/2-default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { sha256 = "01wx2x8xyal595dhdih7rva2bz7gqzgwdp56gi0ikjdzayx17wcf"; }; - outputs = [ "out" "man" "dev" "devdoc" ]; + outputs = [ "out" "man" "dev" ] ++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc"; patches = [ (substituteAll { @@ -57,7 +57,7 @@ stdenv.mkDerivation rec { preConfigure = "NOCONFIGURE=1 ./autogen.sh"; configureFlags = [ - "--enable-gtk-doc" + (stdenv.lib.enableFeature (stdenv.buildPlatform == stdenv.hostPlatform) "gtk-doc") "--localstatedir=/var" "--with-systemdsystemunitdir=$(out)/etc/systemd/system" "--with-udevdir=$(out)/lib/udev" |