From d0a11774fab45699ec304428bdcf224aa3ed8399 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Thu, 7 Nov 2024 10:11:40 +0800 Subject: [PATCH] marktext: nixfmt --- pkgs/by-name/ma/marktext/package.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ma/marktext/package.nix b/pkgs/by-name/ma/marktext/package.nix index 1cea36541120c..a5bcdd7c8c533 100644 --- a/pkgs/by-name/ma/marktext/package.nix +++ b/pkgs/by-name/ma/marktext/package.nix @@ -1,4 +1,8 @@ -{ appimageTools, fetchurl, lib }: +{ + appimageTools, + fetchurl, + lib, +}: let pname = "marktext"; @@ -20,7 +24,10 @@ appimageTools.wrapType2 rec { export LC_ALL=C.UTF-8 ''; - extraPkgs = pkgs: [ pkgs.libsecret pkgs.xorg.libxkbfile ]; + extraPkgs = pkgs: [ + pkgs.libsecret + pkgs.xorg.libxkbfile + ]; extraInstallCommands = '' install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop @@ -34,7 +41,10 @@ appimageTools.wrapType2 rec { description = "Simple and elegant markdown editor, available for Linux, macOS and Windows"; homepage = "https://www.marktext.cc"; license = licenses.mit; - maintainers = with maintainers; [ nh2 eduarrrd ]; + maintainers = with maintainers; [ + nh2 + eduarrrd + ]; platforms = [ "x86_64-linux" ]; mainProgram = "marktext"; };