3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #176366 from NickCao/libosinfo-cross

libosinfo: disable devdoc output when cross compiling
This commit is contained in:
Bobby Rong 2022-06-08 20:49:39 +08:00 committed by GitHub
commit a2e0e3c647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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