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

Support for Nix 24.05? #1551

Closed
Azeirah opened this issue May 22, 2024 · 3 comments
Closed

Support for Nix 24.05? #1551

Azeirah opened this issue May 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Azeirah
Copy link

Azeirah commented May 22, 2024

I'm not using nixpkgs unstable, and I just installed nixOS on my system, so I have 24.05.

According to the readme, I need to specify the nixpkgs version in the flake, but I'm getting an error that it cannot be found (because the branch doesn't exist!)

sudo nixos-rebuild test --flake /etc/nixos#default       
error:
       … while updating the lock file of flake 'path:/etc/nixos?lastModified=1716405479&narHash=sha256-jVjsvFjxUMz6Pao9QfsG2pqPEArHARpB2ILTUVqdZ6U%3D'while updating the flake input 'nixvim'while fetching the input 'github:nix-community/nixvim/nixos-24.05'

       error: unable to download 'https://api.github.com/repos/nix-community/nixvim/commits/nixos-24.05': HTTP error 422

       response body:

       {
         "message": "No commit found for SHA: nixos-24.05",
         "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit"
       }
@Azeirah Azeirah added the bug Something isn't working label May 22, 2024
@MattSturgeon
Copy link
Member

MattSturgeon commented May 22, 2024

We've not yet made a 24.05 branch. I'm sure we will soon.

In the meantime, you could build a standalone nixvim derivation (using unstable) as a workaround.

EDIT: for now, unstable and 24.05 are probably close enough to each other that you could get away with using the main nixvim branch with 24.05 (I haven't tested this).

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/getting-error-rnix-lsp-has-been-removed-as-it-is-unmaintained-while-trying-to-update-from-23-11-to-24-05/46280/6

@GaetanLepage
Copy link
Member

The stable branch has been created: https://github.com/nix-community/nixvim/tree/nixos-24.05

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

4 participants