use nixos-24.05 branch to get rid of "error: attribute 'cmp-ai' missing"
This commit is contained in:
parent
400a94b54e
commit
47aa7eb7c5
1 changed files with 12 additions and 8 deletions
20
flake.nix
20
flake.nix
|
|
@ -3,8 +3,11 @@
|
||||||
description = "my_nixvim flake, Neve mod (only flake.nix)";
|
description = "my_nixvim flake, Neve mod (only flake.nix)";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixvim.url = "github:nix-community/nixvim";
|
# https://github.com/nix-community/nixvim/issues/1859
|
||||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
|
# 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";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
# https://github.com/nvim-neorg/nixpkgs-neorg-overlay
|
# https://github.com/nvim-neorg/nixpkgs-neorg-overlay
|
||||||
|
|
@ -15,7 +18,7 @@
|
||||||
outputs = {
|
outputs = {
|
||||||
self
|
self
|
||||||
, nixpkgs
|
, nixpkgs
|
||||||
, nixpkgs-stable
|
# , nixpkgs-stable
|
||||||
, nixvim
|
, nixvim
|
||||||
, flake-utils
|
, flake-utils
|
||||||
, neorg-overlay
|
, neorg-overlay
|
||||||
|
|
@ -29,10 +32,10 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
nixpkgs.overlays = [ neorg-overlay.overlays.default ];
|
nixpkgs.overlays = [ neorg-overlay.overlays.default ];
|
||||||
};
|
};
|
||||||
pkgs-stable = import nixpkgs-stable {
|
# pkgs-stable = import nixpkgs-stable {
|
||||||
inherit system;
|
# inherit system;
|
||||||
nixpkgs.overlays = [ neorg-overlay.overlays.default ];
|
# nixpkgs.overlays = [ neorg-overlay.overlays.default ];
|
||||||
};
|
# };
|
||||||
nixvim' = nixvim.legacyPackages.${system};
|
nixvim' = nixvim.legacyPackages.${system};
|
||||||
nvim = nixvim'.makeNixvimWithModule {
|
nvim = nixvim'.makeNixvimWithModule {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
@ -40,7 +43,8 @@
|
||||||
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
# You can use `extraSpecialArgs` to pass additional arguments to your module files
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit self;
|
inherit self;
|
||||||
inherit pkgs-stable;
|
# inherit pkgs-stable;
|
||||||
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue