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)";
|
||||
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue