From bc7a0d11e0f27addb18b4f0694011efa439f2f50 Mon Sep 17 00:00:00 2001
From: prescientmoon <git@moonythm.dev>
Date: Mon, 14 Apr 2025 01:47:57 +0200
Subject: [PATCH] Add `mainProgram` metadata to db updater script

---
 nix/glass-server-db-updater.nix | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/nix/glass-server-db-updater.nix b/nix/glass-server-db-updater.nix
index 8e6e6d7..2c36f89 100644
--- a/nix/glass-server-db-updater.nix
+++ b/nix/glass-server-db-updater.nix
@@ -14,8 +14,6 @@ let
       fileset = lib.fileset.unions [ ../scripts/update-db-songs.py ];
     };
 
-    nativeBuildInputs = [ makeWrapper ];
-
     buildPhase = ''
       runHook preBuild
       echo "#!${python3}/bin/python" > glass-server-db-updater
@@ -29,6 +27,11 @@ let
       install -Dm755 glass-server-db-updater -t $out/bin/
       runHook postInstall
     '';
+
+    meta = {
+      description = "Arcaea private server database chart constant updater.";
+      mainProgram = "glass-server-db-updater";
+    };
   };
 in
 symlinkJoin {