Skip to content

Commit

Permalink
feat!: remove neovim as input, depend only on config.neovim.package
Browse files Browse the repository at this point in the history
  • Loading branch information
willruggiano committed Feb 3, 2024
1 parent 3fdda17 commit 3384f3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 74 deletions.
67 changes: 7 additions & 60 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 2 additions & 14 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
flake-parts.url = "github:hercules-ci/flake-parts";
lazy-nvim.url = "github:folke/lazy.nvim";
lazy-nvim.flake = false;
neovim.url = "github:neovim/neovim?dir=contrib";
pre-commit-nix.url = "github:cachix/pre-commit-hooks.nix";

# FIXME: This would be nice, and also a test of sorts
Expand Down Expand Up @@ -42,21 +41,10 @@
perSystem = {
config,
inputs',
pkgs,
system,
...
}: let
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(final: prev: {
neovim = inputs'.neovim.packages.default;
neovim-unwrapped = inputs'.neovim.packages.default;
})
];
};
in {
_module.args.pkgs = pkgs;

}: {
devShells.default = pkgs.mkShell {
name = "neovim.nix";
shellHook = ''
Expand Down

0 comments on commit 3384f3c

Please sign in to comment.