diff --git a/flake.nix b/flake.nix index 1880986..222db55 100644 --- a/flake.nix +++ b/flake.nix @@ -56,5 +56,11 @@ # flake provides only one package or there is a clear "main" # package. defaultPackage = forAllSystems (system: self.packages.${system}.go-hello); + + defaultApp = forAllSystems (system: { + type = "app"; + program = "${self.packages.${system}.go-hello}/bin/go-hello"; + }); + }; }