From ff442eecd054e67081158ef2f0eeab0ed9156ca5 Mon Sep 17 00:00:00 2001 From: Yt Date: Fri, 19 May 2023 09:21:05 -0400 Subject: [PATCH] nix: add overlay for convenient package usage (#7078) --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6dcaf6cc4..81f0a05c9 100644 --- a/flake.nix +++ b/flake.nix @@ -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 [])