Rephrasing and additional comment
This commit is contained in:
parent
ee03bdcdca
commit
2aec6ee66f
|
@ -42,13 +42,13 @@ On Alpine, you first have to add the "testing" repo.
|
||||||
This is part of the edge branch.
|
This is part of the edge branch.
|
||||||
As far as I know, you _could in theory_ get away with just adding the "testing" repo and not moving the rest of your system over to edge, but I highly doubt that will do any good for the stability of your system.
|
As far as I know, you _could in theory_ get away with just adding the "testing" repo and not moving the rest of your system over to edge, but I highly doubt that will do any good for the stability of your system.
|
||||||
|
|
||||||
Moving your system over to the edge branch is done by opening `/etc/apk/repositories`, uncommenting the mirrors referring edge in the and commenting out the lines referring to (at time of writing) `3.16`.
|
Moving your system over to the edge branch is done by opening `/etc/apk/repositories`, uncommenting the mirrors referring to `edge` and commenting out the lines referring to (at time of writing) version `3.16`.
|
||||||
|
|
||||||
From there, run...
|
From there, run...
|
||||||
```sh
|
```sh
|
||||||
doas apk -U upgrade
|
doas apk -U upgrade
|
||||||
```
|
```
|
||||||
...to move your system over to edge.
|
...to move your system over to `edge`.
|
||||||
|
|
||||||
Now installing Nix can be done as usual with:
|
Now installing Nix can be done as usual with:
|
||||||
```sh
|
```sh
|
||||||
|
@ -129,6 +129,11 @@ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
|
||||||
You can probably also add stable channels, but I haven't tried that, as one of the reasons I want to use the Nix package manager on other distros than NixOS is for it's newer packages.
|
You can probably also add stable channels, but I haven't tried that, as one of the reasons I want to use the Nix package manager on other distros than NixOS is for it's newer packages.
|
||||||
(I am aware that the stable channel of NixOS is a lot newer than the Debian stable branch, which is precisely why I don't want to to be my base system on machines where I have Debian installed.)
|
(I am aware that the stable channel of NixOS is a lot newer than the Debian stable branch, which is precisely why I don't want to to be my base system on machines where I have Debian installed.)
|
||||||
|
|
||||||
|
> "Doesn't this mixing of packagemanagers cause a huge amount of anomalies?"
|
||||||
|
|
||||||
|
No, that's part of the beauty of Nix.
|
||||||
|
Pretty much everything it does lives in `/nix` and is softlinked into place, meaning it never interferes with your existing package manager.
|
||||||
|
|
||||||
## Syncing channels
|
## Syncing channels
|
||||||
|
|
||||||
To sync your (just added) channel(s), run:
|
To sync your (just added) channel(s), run:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 84d88dbefee14a184d1a8c7feaba1068c96d293a
|
Subproject commit 2297ec321a9e923492a0c50f8033685df860bcef
|
Loading…
Reference in a new issue