diff --git a/helix.spec b/helix.spec index 050beae..53116cc 100644 --- a/helix.spec +++ b/helix.spec @@ -93,8 +93,9 @@ 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" %{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.*