mkNeovim: import description

This commit is contained in:
kossLAN 2024-11-17 17:35:21 -05:00
parent 480a334862
commit ba0929dbc7
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -205,8 +205,11 @@ with lib;
+ lib.optionalString isCustomAppName '' + lib.optionalString isCustomAppName ''
mv $out/bin/nvim $out/bin/${lib.escapeShellArg appName} mv $out/bin/nvim $out/bin/${lib.escapeShellArg appName}
''; '';
meta.mainProgram = meta = {
if isCustomAppName description = oa.description;
then appName mainProgram =
else oa.meta.mainProgram; if isCustomAppName
then appName
else oa.meta.mainProgram;
};
}) })