From 96df527d73a66c50a54252e5f3878dfe0ff47c33 Mon Sep 17 00:00:00 2001 From: janabhumi Date: Sat, 24 Sep 2022 23:27:30 +0300 Subject: [PATCH] nix: move overlays section from flake-utils --- flake.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 8f1c278..0d529ee 100644 --- a/flake.nix +++ b/flake.nix @@ -133,6 +133,13 @@ }; outputs = inputs @ { self, nixpkgs, utils, ... }: + { + overlays = { + default = final: prev: { + myneovim = prev.callPackage ./. { }; + }; + }; + } // utils.lib.eachDefaultSystem (system: let inputPlugins = [ @@ -206,9 +213,5 @@ pkgs.stylua # lua formatter ]; }; - - overlays = f: p: { - myneovim = neovim; - }; }); }