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