From 395b62e80b638529aeb235b13d5abcd2e851d51e869fbf1712aa366cbe45ec21 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 23:22:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=70 --- helix.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helix.spec b/helix.spec index f19048f..11ea6da 100644 --- a/helix.spec +++ b/helix.spec @@ -94,8 +94,10 @@ sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true +export HELIX_RUNTIME="%{_builddir}/%{name}-%{version}/runtime" +export TARGET="%_arch" %{cargo_build} -HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build +./target/release/hx --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.*