pkgs: add explicit 'meta.mainProgram'

Since upstream has decided to deprecate the implied value when using
`lib.getExe` (see [1]), we should set it explicitly.

[1]: https://github.com/NixOS/nixpkgs/pull/246386
This commit is contained in:
Bruno BELANYI 2023-08-04 09:54:23 +00:00
parent 761393205c
commit 405965dc72
14 changed files with 14 additions and 0 deletions

View file

@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation rec {
'';
homepage = "https://git.belanyi.fr/ambroisie/nix-config";
license = with licenses; [ mit ];
mainProgram = "change-backlight";
maintainers = with maintainers; [ ambroisie ];
platforms = platforms.linux;
};