fix(nix): set meta.mainProgram field (#634)

`meta.mainProgram` must be set otherwise `lib.getExe` assumes that the
package name is `television` and home manager shell integrations are
broken

## 📺 PR Description

<!-- summary of the change + which issue is fixed if applicable. -->

## Checklist

<!-- a quick pass through the following items to make sure you haven't
forgotten anything -->

- [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
This commit is contained in:
Samir 2025-07-12 14:23:46 +02:00 committed by GitHub
parent 521c7473b4
commit 6023d020f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,9 @@
in {
packages.default = naersk'.buildPackage {
src = ./.;
meta = {
mainProgram = "tv";
};
};
apps = {
default = flake-utils.lib.mkApp {