3
0
Fork 0
forked from mirrors/nixpkgs

libosinfo: disable devdoc output when cross compiling

This commit is contained in:
Nick Cao 2022-01-19 12:21:45 +08:00
parent cf3cb3c272
commit 9feb7fe28a
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

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