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.
This commit is contained in:
Milo Moisson 2024-03-31 20:17:47 +02:00
parent 30f2ec3951
commit f9de4c0821
No known key found for this signature in database
GPG Key ID: 7EA9B7563C01CA5E
1 changed files with 1 additions and 1 deletions

View File

@ -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}
'';
})
]