commit:     3634b17e73827f3c06a7bd96ce70a06665ffd49e
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Mar 16 19:46:30 2023 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 03:27:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3634b17e

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

Bug: https://bugs.gentoo.org/901007
Signed-off-by: Jonas Frei <freijon <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/30164
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 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 102a5d9c2aff..7c0fddeac603 100644
--- a/app-editors/helix/helix-22.12.ebuild
+++ b/app-editors/helix/helix-22.12.ebuild
@@ -434,7 +434,7 @@ src_compile() {
        cargo_src_compile
 
        if use grammar; then
-               target/release/hx --grammar build || die
+               target/$(usex debug debug release)/hx --grammar build || die
        fi
 }
 

Reply via email to