on master help sign in
nix: add overlay for convenient package usage (#7078)
ff442eeYt
flake.nix+5−1
@@ -64,7 +64,7 @@
64 };
64 };
65 in
65 in
66 inp.parts.lib.mkFlake {inputs = inp;} {
66 inp.parts.lib.mkFlake {inputs = inp;} {
67− imports = [inp.nci.flakeModule];
67+ imports = [inp.nci.flakeModule inp.parts.flakeModules.easyOverlay];
68 systems = [
68 systems = [
69 "x86_64-linux"
69 "x86_64-linux"
70 "x86_64-darwin"
70 "x86_64-darwin"
@@ -146,6 +146,10 @@
146 packages.helix-dev = makeOverridableHelix config.packages.helix-unwrapped-dev {};
146 packages.helix-dev = makeOverridableHelix config.packages.helix-unwrapped-dev {};
147 packages.default = config.packages.helix;
147 packages.default = config.packages.helix;
148
148
149+ overlayAttrs = {
150+ inherit (config.packages) helix;
151+ };
152+
149 devShells.default = config.nci.outputs."helix-project".devShell.overrideAttrs (old: {
153 devShells.default = config.nci.outputs."helix-project".devShell.overrideAttrs (old: {
150 nativeBuildInputs =
154 nativeBuildInputs =
151 (old.nativeBuildInputs or [])
155 (old.nativeBuildInputs or [])