From 60caaf7fc46e5cbbd14fe116bae50d91bc954c18 Mon Sep 17 00:00:00 2001
From: Scott Dunlop <swdunlop@gmail.com>
Date: Tue, 1 Jun 2021 15:03:57 -0700
Subject: [PATCH] Make HELIX_RUNTIME depend on pwd, not speed's HOME

---
 shell.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/shell.nix b/shell.nix
index b6274581..180e8957 100644
--- a/shell.nix
+++ b/shell.nix
@@ -12,7 +12,7 @@ pkgs.mkShell {
   # https://github.com/rust-lang/rust/issues/55979
   LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
 
-  # HELIX_RUNTIME=./runtime;
-  HELIX_RUNTIME="/home/speed/src/helix/runtime";
+  shellHook = ''
+    export HELIX_RUNTIME=$PWD/runtime
+  '';
 }
-