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

Pill 3 - Dead links to Nix reference manual #250

Closed
Cully-Curwen opened this issue Jun 25, 2024 · 2 comments · May be fixed by #251
Closed

Pill 3 - Dead links to Nix reference manual #250

Cully-Curwen opened this issue Jun 25, 2024 · 2 comments · May be fixed by #251

Comments

@Cully-Curwen
Copy link

In Pill 3, Enter the Environment, all the links to the nix reference manual are dead links

- The [nix-env](https://nixos.org/manual/nix/stable/command-ref/nix-env.html) tool manages environments, profiles and their generations.

Let's inspect the [profile](https://nixos.org/manual/nix/stable/package-management/profiles.html) a bit:

You can of course also [ uninstall](https://nixos.org/manual/nix/stable/command-ref/nix-env.html#operation---uninstall) and [upgrade](https://nixos.org/manual/nix/stable/command-ref/nix-env.html#operation---upgrade) packages.

So where are we getting packages from? We said something about this already in the [second article](02-install-on-your-running-system.md). There's a list of channels from which we get packages, although usually we use a single channel. The tool to manage channels is [nix-channel](https://nixos.org/manual/nix/stable/command-ref/nix-channel.html).

We learned how to query the user environment and to manipulate it by installing and uninstalling software. Upgrading software is also straightforward, as you can read in [the manual](https://nixos.org/manual/nix/stable/command-ref/nix-env.html#operation---upgrade) (`nix-env -u` will upgrade all packages in the environment).

The issue seem to be the use of "/stable" in the path. When removed the links work

@zaiquiriw
Copy link

There is also a dead link in pill 4 (I haven't searched for more).

@zaiquiriw
Copy link

Found related change on nix.dev NixOS/nix.dev#999

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

Successfully merging a pull request may close this issue.

3 participants