Merge pull request #176366 from NickCao/libosinfo-cross
libosinfo: disable devdoc output when cross compiling
This commit is contained in:
commit
a2e0e3c647
@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-olLgD8WA3rIdoNqMCqA7jDHoRAuESMi5gUP6tHfTIwU=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputs = [ "out" "dev" ]
|
||||
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
Loading…
Reference in New Issue
Block a user