NixOS / NixOS/nix.dev

Package versions do not match across tutorials

Open
#891 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nix
Stars
4k
Forks
339
Avg merge
2d 11h
Merged PRs (30d)
7

Description

The guidance says that users should

Check that the desired packages are indeed available in the expected version as we did in the [previous tutorial](https://nix.dev/tutorials/first-steps/ad-hoc-shell-environments#check-package-version).

But the expected versions in the previous tutorial are different from the versions provided in this tutorial.

Previous tutorial:

[nix-shell:~/environment/nix] git --version
git version 2.38.3
[nix-shell:~/environment/nix] nvim --version | head -1
NVIM v0.8.1
[nix-shell:~/environment/nix] npm --version
8.19.2

This tutorial:

[nix-shell:~/environment/nix]$ git --version
git version 2.42.0
[nix-shell:~/environment/nix]$ nvim --version | head -1
NVIM v0.9.4
[nix-shell:~/environment/nix]$ npm --version
9.8.1

Either the versions should match, or this tutorial should specify the expected versions from the given branch.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the previous tutorial linked in the issue and the tutorial containing the quoted text, then compare their package-version examples. Update the examples or the guidance so the versions match, or clearly specify the expected versions for the relevant branch; done means the two tutorials no longer present conflicting expectations.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.