bonfire/lib/default.nix
2023-12-19 11:52:26 +05:00

9 lines
151 B
Nix

{ ... }:
{
mkApp = { drv, name ? drv.pname, binPath ? "/bin/${name}" }:
{
type = "app";
program = "${drv}${binPath}";
};
}