webkitgtk: add separateDebugInfo, add platforms.darwin

Very strange that stdenv.isDarwin is in this expression but without
platforms including darwin.
This commit is contained in:
WORLDofPEACE 2020-09-26 11:30:41 -04:00 committed by Jan Tojnar
parent caf4b9fe5e
commit af2465acb9
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -67,6 +67,8 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
separateDebugInfo = stdenv.isLinux;
src = fetchurl {
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
sha256 = "04axfmzsb9gnyqaz5v7ljapiycxnzwpiya1l9rhp4c1qsbrdpwya";
@ -180,7 +182,7 @@ stdenv.mkDerivation rec {
description = "Web content rendering engine, GTK port";
homepage = "https://webkitgtk.org/";
license = licenses.bsd2;
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
maintainers = teams.gnome.members;
};
}