mindforger: install app on darwin

This commit is contained in:
Dmitry Kalinkin 2021-06-12 09:36:51 -04:00
parent af9015c2aa
commit 48f22f432d
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -49,6 +49,12 @@ stdenv.mkDerivation rec {
"CONFIG+=mfwebengine"
];
postInstall = lib.optionalString stdenv.isDarwin ''
mkdir "$out"/Applications
mv app/mindforger.app "$out"/Applications/
wrapQtApp "$out"/Applications/mindforger.app/Contents/MacOS/mindforger
'';
meta = with lib; {
description = "Thinking Notebook & Markdown IDE";
longDescription = ''