9 lines
151 B
Nix
9 lines
151 B
Nix
{ ... }:
|
|
{
|
|
mkApp = { drv, name ? drv.pname, binPath ? "/bin/${name}" }:
|
|
{
|
|
type = "app";
|
|
program = "${drv}${binPath}";
|
|
};
|
|
}
|