bat-extras: also set meta.mainProgram

This commit is contained in:
Hraban Luyat 2024-01-26 12:45:26 -05:00
parent d08f8d0c98
commit 6b6dd4509e

View file

@ -133,7 +133,9 @@ let
# We already patched # We already patched
dontPatchShebangs = true; dontPatchShebangs = true;
inherit (core) meta; meta = core.meta // {
mainProgram = name;
};
}; };
optionalDep = cond: dep: optionalDep = cond: dep:
assert cond -> dep != null; assert cond -> dep != null;