nix: move overlays section from flake-utils

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-24 23:27:30 +03:00
parent 38cf6958e8
commit 96df527d73
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -133,6 +133,13 @@
}; };
outputs = inputs @ { self, nixpkgs, utils, ... }: outputs = inputs @ { self, nixpkgs, utils, ... }:
{
overlays = {
default = final: prev: {
myneovim = prev.callPackage ./. { };
};
};
} //
utils.lib.eachDefaultSystem (system: utils.lib.eachDefaultSystem (system:
let let
inputPlugins = [ inputPlugins = [
@ -206,9 +213,5 @@
pkgs.stylua # lua formatter pkgs.stylua # lua formatter
]; ];
}; };
overlays = f: p: {
myneovim = neovim;
};
}); });
} }