flake: add meta.mainProgram

Allow us to run the program through `nix run`.
This commit is contained in:
Félix Baylac Jacqué 2023-01-05 16:48:38 +01:00
parent 3876bce7a1
commit c1680e0c7c
Signed by: picnoir
GPG Key ID: EFD315F31848DBA4
1 changed files with 2 additions and 0 deletions

View File

@ -30,4 +30,6 @@ pkgs.stdenvNoCC.mkDerivation {
installPhase = ''
install -D -m0755 src/nixglhost.py $out/bin/nixglhost
'';
meta.mainProgram = "nixglhost";
}