kdiff3: mark as supported on darwin (#299553)

Tested this on aarch64 and x86_64 and it works.

Hraban abe7e2fa 7104ed6a

Changed files
+5 -1
pkgs
tools
text
kdiff3
+5 -1
pkgs/tools/text/kdiff3/default.nix
···
cmakeFlags = [ "-Wno-dev" ];
+
postInstall = lib.optionalString stdenv.isDarwin ''
+
ln -s "$out/Applications/KDE/kdiff3.app/Contents/MacOS" "$out/bin"
+
'';
+
meta = with lib; {
description = "Compares and merges 2 or 3 files or directories";
mainProgram = "kdiff3";
homepage = "https://invent.kde.org/sdk/kdiff3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
-
platforms = with platforms; linux;
+
platforms = with platforms; linux ++ darwin;
};
})