about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2023-08-03 11:54:32 +0200
committerPol Dellaiera <pol.dellaiera@protonmail.com>2023-08-03 11:54:32 +0200
commitbb1faddf074ac3b83a9650de139a3cb3c55a5ffa (patch)
tree680916e1e9c8d93478faf9b32301bb1c60c11c64
parentd85f641287e4f632e9ee3708f0af6d8a41380e36 (diff)
hedgedoc: add `meta.mainProgram`
Follow up of https://github.com/NixOS/nixpkgs/pull/246386
-rw-r--r--pkgs/servers/web-apps/hedgedoc/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/servers/web-apps/hedgedoc/default.nix b/pkgs/servers/web-apps/hedgedoc/default.nix
index db2af919a02bf..0f2073f24a6f0 100644
--- a/pkgs/servers/web-apps/hedgedoc/default.nix
+++ b/pkgs/servers/web-apps/hedgedoc/default.nix
@@ -99,11 +99,12 @@ in stdenv.mkDerivation {
     tests = { inherit (nixosTests) hedgedoc; };
   };
 
-  meta = with lib; {
+  meta = {
     description = "Realtime collaborative markdown notes on all platforms";
-    license = licenses.agpl3;
+    license = lib.licenses.agpl3;
     homepage = "https://hedgedoc.org";
-    maintainers = with maintainers; [ SuperSandro2000 ];
-    platforms = platforms.linux;
+    mainProgram = "hedgedoc";
+    maintainers = with lib.maintainers; [ SuperSandro2000 ];
+    platforms = lib.platforms.linux;
   };
 }