diff --git a/flake.nix b/flake.nix index bb0712e..6e0cf54 100644 --- a/flake.nix +++ b/flake.nix @@ -3,8 +3,11 @@ description = "my_nixvim flake, Neve mod (only flake.nix)"; inputs = { - nixvim.url = "github:nix-community/nixvim"; - nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05"; + # https://github.com/nix-community/nixvim/issues/1859 + # use nixos-24.05 branch to get rid of "error: attribute 'cmp-ai' missing" + nixvim.url = "github:nix-community/nixvim/nixos-24.05"; + # nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + # nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05"; flake-utils.url = "github:numtide/flake-utils"; # https://github.com/nvim-neorg/nixpkgs-neorg-overlay @@ -15,7 +18,7 @@ outputs = { self , nixpkgs - , nixpkgs-stable + # , nixpkgs-stable , nixvim , flake-utils , neorg-overlay @@ -29,10 +32,10 @@ inherit system; nixpkgs.overlays = [ neorg-overlay.overlays.default ]; }; - pkgs-stable = import nixpkgs-stable { - inherit system; - nixpkgs.overlays = [ neorg-overlay.overlays.default ]; - }; + # pkgs-stable = import nixpkgs-stable { + # inherit system; + # nixpkgs.overlays = [ neorg-overlay.overlays.default ]; + # }; nixvim' = nixvim.legacyPackages.${system}; nvim = nixvim'.makeNixvimWithModule { inherit pkgs; @@ -40,7 +43,8 @@ # You can use `extraSpecialArgs` to pass additional arguments to your module files extraSpecialArgs = { inherit self; - inherit pkgs-stable; + # inherit pkgs-stable; + inherit pkgs; }; }; in {