mirror of
https://github.com/neovim/neovim.git
synced 2026-07-30 18:34:50 +08:00
Problem: scripts/genappimage.sh runs `make` with no extra flags and emits a fixed nvim-linux-<arch>.appimage filename, so packaging a variant build (e.g. with the bundled PUC-Rio Lua interpreter) requires editing the Makefile or post-renaming the AppImage, which breaks the AppImage zsync URL. Solution: forward DEPS_CMAKE_FLAGS and CMAKE_EXTRA_FLAGS to `make`, accept OUTPUT so the AppImage (and its zsync Filename:) follows the caller's chosen name, and mark CPACK_PACKAGE_FILE_NAME as CACHE STRING on Linux so the resulting tarball/deb follow as well. Default behavior is unchanged when none of these env vars are set.