expose app as application
This commit is contained in:
parent
7267c68375
commit
0d9a580acb
@ -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";
|
||||||
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user