expose app as application

This commit is contained in:
surtur 2022-04-20 23:04:22 +02:00
parent 7267c68375
commit 0d9a580acb
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

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