about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorzendo <linzway@qq.com>2023-02-05 19:07:57 +0800
committerzendo <linzway@qq.com>2023-02-05 19:07:57 +0800
commitf2ff928ccd5f4c94c7937d56aff2829a2ce9db13 (patch)
treed0294a3e54304437e9b1f339512146d11507fb72 /pkgs
parenta59fe7abba1be9e515e7333005ff8a36f86876b2 (diff)
paper-note: add meta.mainProgram
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/office/paper-note/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/applications/office/paper-note/default.nix b/pkgs/applications/office/paper-note/default.nix
index e400c88df5dd9..e9fdd485befdc 100644
--- a/pkgs/applications/office/paper-note/default.nix
+++ b/pkgs/applications/office/paper-note/default.nix
@@ -49,13 +49,10 @@ stdenv.mkDerivation rec {
       --replace "1.2.0" "${libadwaita.version}"
   '';
 
-  postInstall = ''
-    ln -s $out/bin/io.posidon.Paper $out/bin/paper
-  '';
-
   meta = with lib; {
-    description = "Take notes in Markdown";
-    homepage = "https://posidon.io/paper/";
+    description = "A pretty note-taking app for GNOME";
+    homepage = "https://gitlab.com/posidon_software/paper";
+    mainProgram = "io.posidon.Paper";
     license = licenses.gpl3;
     platforms = platforms.unix;
     maintainers = with maintainers; [ j0lol ];