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:
parent
30f2ec3951
commit
f9de4c0821
|
@ -178,7 +178,7 @@ in {
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/hx \
|
wrapProgram $out/bin/hx \
|
||||||
--prefix PATH : ${lib.makeBinPath cfg.extraPackages}
|
--suffix PATH : ${lib.makeBinPath cfg.extraPackages}
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue