Unverified Commit abe7e2fa authored by Hraban's avatar Hraban Committed by GitHub
Browse files

kdiff3: mark as supported on darwin (#299553)

Tested this on aarch64 and x86_64 and it works.
parent 7104ed6a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -27,12 +27,16 @@ stdenv.mkDerivation (finalAttrs: {

  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;
  };
})