diff --git a/pkgs/applications/editors/mindforger/default.nix b/pkgs/applications/editors/mindforger/default.nix index e63c7ba3d902..6b93153ec041 100644 --- a/pkgs/applications/editors/mindforger/default.nix +++ b/pkgs/applications/editors/mindforger/default.nix @@ -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 = ''