From c1680e0c7c82884780325e99af0bf26098aafe08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Baylac=20Jacqu=C3=A9?= Date: Thu, 5 Jan 2023 16:48:38 +0100 Subject: [PATCH] flake: add meta.mainProgram Allow us to run the program through `nix run`. --- default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default.nix b/default.nix index 2284657..01259be 100644 --- a/default.nix +++ b/default.nix @@ -30,4 +30,6 @@ pkgs.stdenvNoCC.mkDerivation { installPhase = '' install -D -m0755 src/nixglhost.py $out/bin/nixglhost ''; + + meta.mainProgram = "nixglhost"; }