Determine runtime dir based on executable location or env override.

This commit is contained in:
Blaž Hrastnik 2021-05-10 01:02:53 +09:00
parent d33e8fd3d8
commit 0f77f543e5
3 changed files with 16 additions and 1 deletions

View file

@ -11,5 +11,7 @@ pkgs.mkShell {
RUST_BACKTRACE = "1";
# https://github.com/rust-lang/rust/issues/55979
LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
HELIX_RUNTIME=./runtime;
}