Use lib.getExe for app outputs

- Switch flake app entries to `lib.getExe`
- Fix server package metadata field names
This commit is contained in:
2026-04-24 20:23:07 +03:00
parent 908ca7a459
commit 23177e107e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -38,11 +38,11 @@
apps = forAllSystems (system: rec {
t3code-server = {
type = "app";
program = "${self.packages.${system}.t3code-server}/bin/t3";
program = lib.getExe self.packages.${system}.t3code-server;
};
t3code-desktop = {
type = "app";
program = "${self.packages.${system}.t3code-desktop}/bin/t3code";
program = lib.getExe self.packages.${system}.t3code-desktop;
};
default = t3code-desktop;
});
+2 -2
View File
@@ -94,8 +94,8 @@ in
description = "t3 code web/server app";
homepage = "https://github.com/pingdotgg/t3code";
license = lib.licenses.mit;
mainprogram = "t3";
mainProgram = "t3";
platforms = lib.platforms.unix;
sourceprovenance = with lib.sourcetypes; [fromsource];
sourceProvenance = with lib.sourceTypes; [fromSource];
};
})