Closed mx00s closed 2 weeks ago
I tried running the Getting Started directions and ran into a confusing message:
> sh <(curl -L https://nixos.org/nix/install) --no-daemon # for WSL2 (Windows) > nix-env -iA devenv -f https://github.com/NixOS/nixpkgs/tarball/nixpkgs-unstable > git init demo && cd demo > devenv init > devenv test ... ✨ devenv 1.0.3 is out of date. Please update to 1.0.4: https://devenv.sh/getting-started/#installation ...
The update directions linked by the message are the exact ones I just followed to install devenv, so it's odd that it claims it's outdated.
According to https://github.com/NixOS/nixpkgs/blob/a0c9e3aee1000ac2bfb0e5b98c94c946a5d180a9/pkgs/by-name/de/devenv/package.nix#L32, the current version on nixpkgs-unstable is 1.0.3, the one I have.
nixpkgs-unstable
This repository's releases show the more recent 1.0.4 is the latest as of ~16 hours ago. Apparently the nixpkgs-unstable just hasn't been updated yet.
To mitigate future user confusion, would it be worth ...?
Hey @mx00s, nice to see you around here :wave:
The easiest to do right now is to bump .latest-version once nixpkgs-unstable hits, we could even automate this.
.latest-version
Thanks for bringing this up!
I tried running the Getting Started directions and ran into a confusing message:
The update directions linked by the message are the exact ones I just followed to install devenv, so it's odd that it claims it's outdated.
According to https://github.com/NixOS/nixpkgs/blob/a0c9e3aee1000ac2bfb0e5b98c94c946a5d180a9/pkgs/by-name/de/devenv/package.nix#L32, the current version on
nixpkgs-unstable
is 1.0.3, the one I have.This repository's releases show the more recent 1.0.4 is the latest as of ~16 hours ago. Apparently the
nixpkgs-unstable
just hasn't been updated yet.To mitigate future user confusion, would it be worth ...?
nixpkgs-unstable