flake: add meta.mainProgram
Allow us to run the program through `nix run`.
This commit is contained in:
parent
3876bce7a1
commit
c1680e0c7c
|
@ -30,4 +30,6 @@ pkgs.stdenvNoCC.mkDerivation {
|
|||
installPhase = ''
|
||||
install -D -m0755 src/nixglhost.py $out/bin/nixglhost
|
||||
'';
|
||||
|
||||
meta.mainProgram = "nixglhost";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue