bonfire/lib/default.nix

9 lines
151 B
Nix
Raw Normal View History

2023-12-19 11:52:26 +05:00
{ ... }:
{
mkApp = { drv, name ? drv.pname, binPath ? "/bin/${name}" }:
{
type = "app";
program = "${drv}${binPath}";
};
}