fix: override meta.mainProgram on custom appName

This commit is contained in:
Marc Jakobi
2024-09-19 21:24:53 +02:00
parent c7af6abe23
commit 881b465b81
+4
View File
@@ -207,4 +207,8 @@ with lib;
+ lib.optionalString isCustomAppName ''
mv $out/bin/nvim $out/bin/${lib.escapeShellArg appName}
'';
meta.mainProgram
= if isCustomAppName
then appName
else oa.meta.mainProgram;
})