Skip to content

Commit abe7e2f

Browse files
authored
kdiff3: mark as supported on darwin (#299553)
Tested this on aarch64 and x86_64 and it works.
1 parent 7104ed6 commit abe7e2f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkgs/tools/text/kdiff3/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ stdenv.mkDerivation (finalAttrs: {
2727

2828
cmakeFlags = [ "-Wno-dev" ];
2929

30+
postInstall = lib.optionalString stdenv.isDarwin ''
31+
ln -s "$out/Applications/KDE/kdiff3.app/Contents/MacOS" "$out/bin"
32+
'';
33+
3034
meta = with lib; {
3135
description = "Compares and merges 2 or 3 files or directories";
3236
mainProgram = "kdiff3";
3337
homepage = "https://invent.kde.org/sdk/kdiff3";
3438
license = licenses.gpl2Plus;
3539
maintainers = with maintainers; [ peterhoeg ];
36-
platforms = with platforms; linux;
40+
platforms = with platforms; linux ++ darwin;
3741
};
3842
})

0 commit comments

Comments
 (0)