Skip to content
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

[BUG] missing transparent-nvim after updating flake.lock #1278

Closed
1 task done
pact0 opened this issue Mar 16, 2024 · 4 comments
Closed
1 task done

[BUG] missing transparent-nvim after updating flake.lock #1278

pact0 opened this issue Mar 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@pact0
Copy link

pact0 commented Mar 16, 2024

Field Description
Plugin nixvim
Nixpkgs unstable
Home Manager unstable
  • I have read the FAQ and my bug is not listed there.

Description

Hello, I have my nixvim installed like so

nixvim = {
      url = "github:nix-community/nixvim";
      inputs.nixpkgs.follows = "nixpkgs";
    };

and then imported in home manager

  imports = [
    inputs.nixvim.homeManagerModules.nixvim
  ];

When I try to run nix flake lock --update-input nixvim I start getting errors which end with something like this

while evaluating the attribute 'value'

         at /nix/store/bjvqq8c79dbi59g7xzcc6lhl0f19m3d7-source/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute 'transparent-nvim' missing

       at /nix/store/vwlqf5kxxw6cwaqbw7vd1vqf4skvjfb6-source/plugins/ui/transparent.nix:12:22:

           11|     originalName = "transparent.nvim";
           12|     defaultPackage = pkgs.vimPlugins.transparent-nvim;
             |                      ^
           13

Minimal, Reproducible Example (MRE)

Run nix flake lock --update-input nixvim and then nixos-rebuild switch --flake .

@pact0 pact0 added the bug Something isn't working label Mar 16, 2024
@GaetanLepage
Copy link
Member

Could you try updating all the flake inputs, not just nixvim ? (especially nixpkgs).

@GaetanLepage GaetanLepage self-assigned this Mar 17, 2024
@GaetanLepage GaetanLepage changed the title [BUG] missing ransparent-nvim after updating flake.lock [BUG] missing transparent-nvim after updating flake.lock Mar 17, 2024
@pact0
Copy link
Author

pact0 commented Mar 17, 2024

Hey, I tried running nix flake update and then nixos-rebuild switch --flake a couple days ago but the outcome was the same. I ran nix-channel --update , nix flake update and then nixos-rebuild switch --flake just now and I only got a warning

The option `colorschemes.base16.customColorScheme' defined in `/nix/store/w48ijyc7k5g1h9yyz0x8ar655avpb8wp-modules/nixvim/hm.nix' has been renamed to `colorschemes.base16.colorscheme'.

which might be due to me using stylix, so I guess it somehow fixed itself.

@pact0 pact0 closed this as completed Mar 17, 2024
@GaetanLepage
Copy link
Member

which might be due to me using stylix, so I guess it somehow fixed itself.

This is due to a change we have made to the base16 module. You should simply rename this option in your config as the message suggest.
Glad that everything works now :)

@pact0
Copy link
Author

pact0 commented Mar 17, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants