From 658718b31c658596935c13b8beac5d68c9ba2378 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 3 Jun 2024 19:20:04 +0300 Subject: [PATCH] nix: generate overlay from exposed packages --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 94af9b6..e7da398 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,7 @@ outputs = inputs @ {flake-parts, ...}: flake-parts.lib.mkFlake {inherit inputs;} { + imports = [flake-parts.flakeModules.easyOverlay]; systems = ["x86_64-linux" "aarch64-linux"]; perSystem = { @@ -105,6 +106,9 @@ name = "websearch"; }; }; + + # Set up an overlay from packages exposed by this flake + overlayAttrs = config.packages; }; flake = _: rec {