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

error: Could not find latest nixpkgs version #6

Open
Alexnortung opened this issue Jan 9, 2023 · 6 comments
Open

error: Could not find latest nixpkgs version #6

Alexnortung opened this issue Jan 9, 2023 · 6 comments

Comments

@Alexnortung
Copy link

I just wanted to try using snow, but when I try to install a package, I get an error:

$ nix run github:snowflakelinux/snow -- install lolcat
error: Could not find latest nixpkgs version

NixOS version: 22.11
Nix version: 2.11.1

@olifloof
Copy link

Do you have a flake with nixpkgs as an input?

@Alexnortung
Copy link
Author

I do have a flake with nixpkgs as an input. However I was using the command from my home folder. I think there needs some documentation on how to use snow.

@olifloof
Copy link

weird

@vlinkz
Copy link
Contributor

vlinkz commented Jan 10, 2023

It should work ootb how you ran it. What does your nix registry list look like? Or anything on your network configuration that would stop you from accessing this: https://raw.githubusercontent.com/snowflakelinux/nix-data-db/main/nixpkgs-unstable/nixpkgs.ver?

@Alexnortung
Copy link
Author

This is the output of nix registry list for my system.

system flake:home-manager path:/nix/store/ppyry7pj25cznm929hisa9f7c6syg8pl-source?lastModified=1672688183&narHash=sha256-3sNEWKTg3XXVDnvzVatdyetiUQWL+ibJ1YkvxSk3PuM=&rev=c1a830c8fabb13f95f51ecf48552f0a794d8718a
system flake:nixpkgs path:/nix/store/bgqzskxw47h1zb0pmx4d7z54bwnp7dgq-source?lastModified=1672500394&narHash=sha256-yzwBzCoeRBoRzm7ySHhm72kBG0QjgFalLz2FY48iLI4=&rev=feda52be1d59f13b9aa02f064b4f14784b9a06c8
system flake:self path:/nix/store/q0g3p681igxxifhd7zriz0i5xjafal41-source?lastModified=1672995133&narHash=sha256-DidZIXp1N8KDEIm4QBVxg9Sa4CnIdbcQsifet9GtvIM=
system flake:unstable path:/nix/store/cjpmfag2c31x4k8pfxbi99vxwb63jvk9-source?lastModified=1672633908&narHash=sha256-sP0BMp4DprVCBjcTYPsTPwkJMsc45vM0FxHdDx6qE8U=&rev=a4379d2b0deefedc8dba360897557707ea9ee9a7
...

@vlinkz
Copy link
Contributor

vlinkz commented Feb 3, 2023

Should be supported now in the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants