about summary refs log tree commit diff
path: root/pkgs/applications/editors/helix
diff options
context:
space:
mode:
authorKarem Abdul-Samad <kas2020@protonmail.com>2024-04-08 16:50:29 -0400
committerGitHub <noreply@github.com>2024-04-08 16:50:29 -0400
commit525dc0535f4c16539adcaa6ecece3ffd9b0760a1 (patch)
tree990edda13451bdbb5e6058fc4da45fc9bb9fd069 /pkgs/applications/editors/helix
parent96d53e4b65d7ce71d88addf7ebdac95746769543 (diff)
helix: prefer env over shell export
Diffstat (limited to 'pkgs/applications/editors/helix')
-rw-r--r--pkgs/applications/editors/helix/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix
index 731bf395ba1e7..382104a3d7f70 100644
--- a/pkgs/applications/editors/helix/default.nix
+++ b/pkgs/applications/editors/helix/default.nix
@@ -16,9 +16,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ git installShellFiles ];
 
-  preBuild = ''
-    export HELIX_DEFAULT_RUNTIME="$out/lib/runtime"
-  '';
+  env.HELIX_DEFAULT_RUNTIME = "${placeholder "out"}/lib/runtime";
 
   postInstall = ''
     # not needed at runtime