Skip to content

fresh install: "✨ devenv 1.0.3 is out of date" #1127

@mx00s

Description

@mx00s

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.

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 ...?

  1. changing the install directions to depend directly on this repo's releases instead,
  2. using the latest version from the chosen installation source as the source of truth, and/or
  3. minimizing the duration between releases in this repo and bumping the version in nixpkgs-unstable

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions