Coder Social home page Coder Social logo

Comments (14)

c0h2r avatar c0h2r commented on June 16, 2024 7

So, I believe the temporary solution would be to set

    nixpkgs.url = "github:NixOS/nixpkgs/d8e0944e6d2ce0f326040e654c07a410e2617d47";

(which is right before that PR landed) until the issue's resolved or something?

Edit: well, at least it builds. Although it was probably better to just make nixvim follow that particular revision.

from nixvim.

traxys avatar traxys commented on June 16, 2024 5

That is (I think) a real nixvim issue

from nixvim.

traxys avatar traxys commented on June 16, 2024 2

It has just landed I think (https://nixpk.gs/pr-tracker.html?pr=285828).

from nixvim.

drupol avatar drupol commented on June 16, 2024 2

Sorry for the troubles guys, this thing was a long overdue... and it has to be done one day or another. Glad it has been fixed!

from nixvim.

c0h2r avatar c0h2r commented on June 16, 2024 1

Ok so the issue is that NixOS/nixpkgs#285828 was merged recently, is present in nixpkgs-unstable, but not yet in nixos-unstable (which we target).

So to fix your issue you could use nixos-unstable as a nixpkgs reference.

Nope, it's in nixos-unstable as well: NixOS/nixpkgs@3a19a72

from nixvim.

traxys avatar traxys commented on June 16, 2024

Is your nixpkgs revision recent enough? Meaning have you run nix flake update recently?

from nixvim.

lanjoni avatar lanjoni commented on June 16, 2024

Thanks! This changed my situation: I was using an old revision of nixpkgs and now my nixvim is installed with home-manager module. But, when I tried to run this flake I got this error:
image

# modules/home-manager/default.nix
{ pkgs, ... }: {
  # specify my home-manager configs
  imports = [
    ./settings/zsh.nix
    ./settings/kitty.nix
    ./settings/tmux.nix
    ./settings/neovim.nix
  ];
# ... with the rest of code
# modules/home-manager/settings/neovim.nix
{ pkgs, ... }: {
  programs.nixvim = {
    enable = true;

    colorschemes.kanagawa.enable = true;
  };
}

from nixvim.

lanjoni avatar lanjoni commented on June 16, 2024

That is (I think) a real nixvim issue

Ok! I changed the issue title now. Thanks for your help in advance! If I have any updates I will send here (if you have any updates, please send here).

from nixvim.

traxys avatar traxys commented on June 16, 2024

Ok so the issue is that NixOS/nixpkgs#285828 was merged recently, is present in nixpkgs-unstable, but not yet in nixos-unstable (which we target).

So to fix your issue you could use nixos-unstable as a nixpkgs reference.

from nixvim.

lanjoni avatar lanjoni commented on June 16, 2024

Ok so the issue is that NixOS/nixpkgs#285828 was merged recently, is present in nixpkgs-unstable, but not yet in nixos-unstable (which we target).

So to fix your issue you could use nixos-unstable as a nixpkgs reference.

Great, but, how can I do this? And, I need to add this reference only for nixvim?

from nixvim.

GaetanLepage avatar GaetanLepage commented on June 16, 2024

Fixed by #1168

from nixvim.

budimanjojo avatar budimanjojo commented on June 16, 2024

Now I got a new error:

       error: attribute 'php-codesniffer' missing

       at /nix/store/7nqyi3z1i7d5rpf1nb0v1ymmdhhamav3-source/plugins/none-ls/servers.nix:196:19:

          195|       phpcbf = {
          196|         package = pkgs.phpPackages.php-codesniffer;
             |                   ^
          197|       };

Ah sorry my bad, ignore me.

from nixvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.