We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7104ed6 commit abe7e2fCopy full SHA for abe7e2f
pkgs/tools/text/kdiff3/default.nix
@@ -27,12 +27,16 @@ stdenv.mkDerivation (finalAttrs: {
27
28
cmakeFlags = [ "-Wno-dev" ];
29
30
+ postInstall = lib.optionalString stdenv.isDarwin ''
31
+ ln -s "$out/Applications/KDE/kdiff3.app/Contents/MacOS" "$out/bin"
32
+ '';
33
+
34
meta = with lib; {
35
description = "Compares and merges 2 or 3 files or directories";
36
mainProgram = "kdiff3";
37
homepage = "https://invent.kde.org/sdk/kdiff3";
38
license = licenses.gpl2Plus;
39
maintainers = with maintainers; [ peterhoeg ];
- platforms = with platforms; linux;
40
+ platforms = with platforms; linux ++ darwin;
41
};
42
})
0 commit comments