1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

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.
This commit is contained in:
Milo Moisson 2024-11-10 11:42:08 +01:00 committed by GitHub
parent 7309007271
commit 60bb110917
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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