udisks2: disable docs when cross-compiling
This commit is contained in:
parent
e39d627a12
commit
101947774c
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "01wx2x8xyal595dhdih7rva2bz7gqzgwdp56gi0ikjdzayx17wcf";
|
sha256 = "01wx2x8xyal595dhdih7rva2bz7gqzgwdp56gi0ikjdzayx17wcf";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" "dev" "devdoc" ];
|
outputs = [ "out" "man" "dev" ] ++ stdenv.lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
|||||||
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-gtk-doc"
|
(stdenv.lib.enableFeature (stdenv.buildPlatform == stdenv.hostPlatform) "gtk-doc")
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||||
"--with-udevdir=$(out)/lib/udev"
|
"--with-udevdir=$(out)/lib/udev"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user