luaprompt: install man page

This commit is contained in:
Michael Adler
2024-11-08 09:58:08 +01:00
parent f2fd33a198
commit 7f886ba9db
+7 -1
View File
@@ -415,11 +415,17 @@ in
];
});
luaprompt = prev.luaprompt.overrideAttrs (_: {
luaprompt = prev.luaprompt.overrideAttrs (oa: {
externalDeps = [
{ name = "READLINE"; dep = readline; }
{ name = "HISTORY"; dep = readline; }
];
nativeBuildInputs = oa.nativeBuildInputs ++ [ installShellFiles ];
postInstall = ''
installManPage luap.1
'';
});
# As a nix user, use this derivation instead of "luarocks_bootstrap"