helix: prefer env over shell export

This commit is contained in:
Karem Abdul-Samad 2024-04-08 16:50:29 -04:00 committed by GitHub
parent 96d53e4b65
commit 525dc0535f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -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