From f9de4c0821886218f89c7467b2d5113e19920e11 Mon Sep 17 00:00:00 2001 From: Milo Moisson Date: Sun, 31 Mar 2024 20:17:47 +0200 Subject: [PATCH] helix: change wrapping when adding extraPackages to suffix this makes extraPackages the default, but they do not shadow the env so you can still have packages (e.g. LSPs) with a different version than the global one in you local env like nix's shells. --- modules/programs/helix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/helix.nix b/modules/programs/helix.nix index 9c5519f3b..9e2d415ba 100644 --- a/modules/programs/helix.nix +++ b/modules/programs/helix.nix @@ -178,7 +178,7 @@ in { nativeBuildInputs = [ pkgs.makeWrapper ]; postBuild = '' wrapProgram $out/bin/hx \ - --prefix PATH : ${lib.makeBinPath cfg.extraPackages} + --suffix PATH : ${lib.makeBinPath cfg.extraPackages} ''; }) ]