From 6023d020f11265af58315402885fb45911465c6c Mon Sep 17 00:00:00 2001 From: Samir Date: Sat, 12 Jul 2025 14:23:46 +0200 Subject: [PATCH] fix(nix): set meta.mainProgram field (#634) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `meta.mainProgram` must be set otherwise `lib.getExe` assumes that the package name is `television` and home manager shell integrations are broken ## 📺 PR Description ## Checklist - [x] my commits **and PR title** follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format - [ ] if this is a new feature, I have added tests to consolidate the feature and prevent regressions - [ ] if this is a bug fix, I have added a test that reproduces the bug (if applicable) - [ ] I have added a reasonable amount of documentation to the code where appropriate --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index dc7e2df..bb83225 100644 --- a/flake.nix +++ b/flake.nix @@ -45,6 +45,9 @@ in { packages.default = naersk'.buildPackage { src = ./.; + meta = { + mainProgram = "tv"; + }; }; apps = { default = flake-utils.lib.mkApp {