diff options
author | Aleksana <me@aleksana.moe> | 2024-04-09 22:25:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 22:25:00 +0800 |
commit | d316b8227f6bc818f02f907fcf0529ad1939c05c (patch) | |
tree | d3426f3b4b4be3b0ce585a08ffcdd2dd2b5beb71 | |
parent | fd251a0ea0d4680321340e63e3e7c5dd934f62f5 (diff) | |
parent | 525dc0535f4c16539adcaa6ecece3ffd9b0760a1 (diff) |
Merge pull request #302623 from kas2020-commits/patch-1
helix: remove wrapper
-rw-r--r-- | pkgs/applications/editors/helix/default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix index 698b4f8a1b16..382104a3d7f7 100644 --- a/pkgs/applications/editors/helix/default.nix +++ b/pkgs/applications/editors/helix/default.nix @@ -1,4 +1,4 @@ -{ fetchzip, lib, rustPlatform, git, installShellFiles, makeWrapper }: +{ fetchzip, lib, rustPlatform, git, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "helix"; @@ -14,7 +14,9 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-THzPUVcmboVJHu3rJ6rev3GrkNilZRMlitCx7M1+HBE="; - nativeBuildInputs = [ git installShellFiles makeWrapper ]; + nativeBuildInputs = [ git installShellFiles ]; + + env.HELIX_DEFAULT_RUNTIME = "${placeholder "out"}/lib/runtime"; postInstall = '' # not needed at runtime @@ -27,9 +29,6 @@ rustPlatform.buildRustPackage rec { cp contrib/Helix.desktop $out/share/applications cp contrib/helix.png $out/share/icons/hicolor/256x256/apps ''; - postFixup = '' - wrapProgram $out/bin/hx --set HELIX_RUNTIME $out/lib/runtime - ''; meta = with lib; { description = "A post-modern modal text editor"; |