mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-11 16:07:00 +03:00
nix: add overlay for convenient package usage (#7078)
This commit is contained in:
parent
53f47bc477
commit
ff442eecd0
@ -64,7 +64,7 @@
|
||||
};
|
||||
in
|
||||
inp.parts.lib.mkFlake {inputs = inp;} {
|
||||
imports = [inp.nci.flakeModule];
|
||||
imports = [inp.nci.flakeModule inp.parts.flakeModules.easyOverlay];
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
@ -146,6 +146,10 @@
|
||||
packages.helix-dev = makeOverridableHelix config.packages.helix-unwrapped-dev {};
|
||||
packages.default = config.packages.helix;
|
||||
|
||||
overlayAttrs = {
|
||||
inherit (config.packages) helix;
|
||||
};
|
||||
|
||||
devShells.default = config.nci.outputs."helix-project".devShell.overrideAttrs (old: {
|
||||
nativeBuildInputs =
|
||||
(old.nativeBuildInputs or [])
|
||||
|
Loading…
Reference in New Issue
Block a user