-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: attribute 'src' missing from 'bash-grammar-neovim-3b29b39' #521
Comments
Are you overriding the nixpkgs input for this flake? |
https://github.com/LamprosPitsillos/nixos-config/blob/main/home-manager/programs/nvim/nvim.nix Not sure i understand the question. |
I'm having the same issue after trying to upgrade to the latest version. This is what I'm using as an overlay: pkgs =
(import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowBroken = false;
allowInsecure = false;
allowUnsupportedSystem = false;
permittedInsecurePackages = [];
};
overlays =
[neovim-nightly.overlays.default yazi.overlays.default]
++ lib.lists.optional (builtins.pathExists "${./.}/overlays")
(_: prev: lib.importModuleTreeAsAttrs ./overlays {pkgs = prev;});
})
// {
inherit lib;
}; Notice that I had to use I'm doing all that configuration there to allow me to drop some local overlays on a directory and get my setup to find them and use them, but as of now, the only overlays I'm using are the |
@LamprosPitsillos This is what I'm talking about; https://github.com/LamprosPitsillos/nixos-config/blob/147db4fbd2f33fea237cdfc726fa1fdad6f14973/flake.nix#L14 If you are overriding the nixpkgs input for this flake, you need to ensure that it is at least NixOS/nixpkgs@d5786c1 or newer This should be added to the README, along with various other fixes as @Townk points out |
Thanks for the response, but in my case I'm not overriding the flake input at all. Any ideas to work around this issue? |
You're using overlays, so the same semantic applies. Make sure that your nixpkgs, or whatever your base package set, is at least the nixpkgs version previously specified. If you have a code link I'm happy to troubleshoot with you. |
i had neovim flake locked to a specific commit I removed that and it now built fine , probably that was the issue , i forgot to unlock it some time ago |
The text was updated successfully, but these errors were encountered: