From 3216d79f8618bceee09ca7533c4b38c82b3b66d7 Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Wed, 15 Mar 2023 20:47:15 +0100 Subject: [PATCH] app-editors/helix: Fixes grammar build with 'debug' USE flag Closes: https://bugs.gentoo.org/901007 Signed-off-by: Jonas Frei --- 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 70803a05aa..324db4a341 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() {