commit:     3216d79f8618bceee09ca7533c4b38c82b3b66d7
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Wed Mar 15 19:47:15 2023 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Wed Mar 15 19:47:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3216d79f

app-editors/helix: Fixes grammar build with 'debug' USE flag

Closes: https://bugs.gentoo.org/901007
Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 app-editors/helix/helix-22.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-editors/helix/helix-22.12.ebuild 
b/app-editors/helix/helix-22.12.ebuild
index 70803a05a..324db4a34 100644
--- a/app-editors/helix/helix-22.12.ebuild
+++ b/app-editors/helix/helix-22.12.ebuild
@@ -418,7 +418,7 @@ src_compile() {
        export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1
        export HELIX_RUNTIME="${S}/runtime"
        cargo_src_compile
-       use grammar && ( target/release/hx --grammar build || die )
+       use grammar && ( target/$(usex debug debug release)/hx --grammar build 
|| die )
 }
 
 src_install() {

Reply via email to