From 332fedbe9bc5243c8c2710926d5dd18916604059 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 12 Jun 2023 23:28:24 +0400 Subject: [PATCH] notepad-next: enable on darwin --- pkgs/applications/editors/notepad-next/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/notepad-next/default.nix b/pkgs/applications/editors/notepad-next/default.nix index ab4ea0a7948a..1c57658026c4 100644 --- a/pkgs/applications/editors/notepad-next/default.nix +++ b/pkgs/applications/editors/notepad-next/default.nix @@ -27,11 +27,16 @@ mkDerivation rec { --replace '$$[QT_INSTALL_TRANSLATIONS]/qt_zh_CN.qm' "" ''; + postInstall = lib.optionalString stdenv.isDarwin '' + mv $out/bin $out/Applications + rm -fr $out/share + ''; + meta = with lib; { homepage = "https://github.com/dail8859/NotepadNext"; - description = "Notepad++-like editor for the Linux desktop"; + description = "A cross-platform, reimplementation of Notepad++"; license = licenses.gpl3Plus; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = [ maintainers.sebtm ]; broken = stdenv.isAarch64; };