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.*