Coder Social home page Coder Social logo

Comments (13)

Fish1 avatar Fish1 commented on September 26, 2024

What error are you getting? I am new to nix, but I also think nixvim is causing an error in unstable.
error: `phpcbf` is now deprecated, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.

from nixvim.

traxys avatar traxys commented on September 26, 2024

What error are you getting? I am new to nix, but I also think nixvim is causing an error in unstable. error: `phpcbf` is now deprecated, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.

This error could be caused by a missing nix flake update. This change was pretty recent, so you need a pretty recent revision of nixpkgs-unstable

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

That's what I guessed as the issue as well, but I've just recently updated nixpkgs-unstable a very recent version (think a release on the day this comment was written), yet nixvim specifically doesn't evaluate, and it's only nixvim (though I haven't checked whether nixvim specifically has this issue or one of nixvim's inputs).

Error output for reference:

Screenshot_2024-03-11_10-55-14

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

What error are you getting? I am new to nix, but I also think nixvim is causing an error in unstable. error: `phpcbf` is now deprecated, use `php-codesniffer` instead which contains both `phpcs` and `phpcbf`.

This is probably from the recent changes in the API some nixvim plugins, so modifying your config to follow the new API should be the fix you need.

from nixvim.

GaetanLepage avatar GaetanLepage commented on September 26, 2024

Nixvim is now working with the latest nixos-unstable revision.
#1239

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

Nixvim is now working with the latest nixos-unstable revision. #1239

nixvim still errors for some reason.

image

from nixvim.

traxys avatar traxys commented on September 26, 2024

This is strange I don't seem to have the same issue with my flake:
image

from nixvim.

alisonjenkins avatar alisonjenkins commented on September 26, 2024

Nixvim is now working with the latest nixos-unstable revision. #1239

nixvim still errors for some reason.

image

It looks like you might be hitting the git awareness of Nix. Make sure that all files in your nix repo are either staged or in Git commits and try again.

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

Nixvim is now working with the latest nixos-unstable revision. #1239

nixvim still errors for some reason.
image

It looks like you might be hitting the git awareness of Nix. Make sure that all files in your nix repo are either staged or in Git commits and try again.

git working tree is clean, so no issues there. The problem I think is supposed to be in the evaluation of the inputs of the flake.

from nixvim.

GaetanLepage avatar GaetanLepage commented on September 26, 2024

@computerscience-person Have you been able to update since then ?

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

I have, and it still doesn't work. However, I can say that the error comes from flake-parts as I tried to write a flake with flake-parts as input and the same error appeared.

image

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

Also probably related to this https://github.com/NixOS/nix/issues/6642, but the thread there says that its supposedly due to untracked git files, which is not the problem in my case, as all my *.nix files are properly tracked by git.

from nixvim.

computerscience-person avatar computerscience-person commented on September 26, 2024

Fixed! Solved with sudo nix-store --repair --verify --check-content.

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.