Skip to content

Commit

Permalink
flake: add meta.mainProgram
Browse files Browse the repository at this point in the history
Allow us to run the program through `nix run`.
  • Loading branch information
picnoir committed Jan 5, 2023
1 parent 3876bce commit c1680e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ pkgs.stdenvNoCC.mkDerivation {
installPhase = ''
install -D -m0755 src/nixglhost.py $out/bin/nixglhost
'';

meta.mainProgram = "nixglhost";
}

0 comments on commit c1680e0

Please sign in to comment.