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

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