From 60bb110917844d354f3c18e05450606a435d2d10 Mon Sep 17 00:00:00 2001 From: Milo Moisson Date: Sun, 10 Nov 2024 11:42:08 +0100 Subject: [PATCH] helix: fix wrapping of extraPackages 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 01af7b14e..840f5d82f 100644 --- a/modules/programs/helix.nix +++ b/modules/programs/helix.nix @@ -188,7 +188,7 @@ in { nativeBuildInputs = [ pkgs.makeWrapper ]; postBuild = '' wrapProgram $out/bin/hx \ - --prefix PATH : ${lib.makeBinPath cfg.extraPackages} + --suffix PATH : ${lib.makeBinPath cfg.extraPackages} ''; }) ]