diff --git a/app-editors/helix/helix-24.07.ebuild b/app-editors/helix/helix-24.07.ebuild index 1e4539721df4d..34b8e21634306 100644 --- a/app-editors/helix/helix-24.07.ebuild +++ b/app-editors/helix/helix-24.07.ebuild @@ -304,12 +304,11 @@ IUSE="+grammar" RDEPEND="dev-vcs/git" -QA_FLAGS_IGNORED=" - usr/bin/hx - usr/share/${PN}/runtime/grammars/.*\.so -" - pkg_setup() { + QA_FLAGS_IGNORED=" + usr/bin/hx + /usr/$(get_libdir)/helix/.*\.so + " export HELIX_DEFAULT_RUNTIME="${EPREFIX}/usr/share/${PN}/runtime" use grammar || export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 }