Skip to content

Commit

Permalink
helix: change wrapping when adding extraPackages to suffix
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrnossiom committed Apr 1, 2024
1 parent 30f2ec3 commit f9de4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/programs/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}
'';
})
]
Expand Down

0 comments on commit f9de4c0

Please sign in to comment.