15 lines
243 B
Nix
15 lines
243 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (pkgs.lib) getExe;
|
|
|
|
mkApp = file: {
|
|
program = getExe (pkgs.callPackage file ({} // inputs));
|
|
type = "app";
|
|
};
|
|
in {
|
|
extract-subs = mkApp ./extract-subs;
|
|
updateFlake = mkApp ./update;
|
|
}
|