Merge pull request 'install: fix upgrade-nix command' (#24) from fix-upgrade-nix-command into main

Reviewed-on: #24
Reviewed-by: Qyriad <qyriad@fastmail.com>
This commit is contained in:
Qyriad 2024-05-19 22:07:33 +00:00
commit 0d006b3f80

View file

@ -69,12 +69,12 @@ of the `upgrade-nix` command.
Thanks to Nix, we can actually ask Lix to upgrade your system directly. Run the following command: Thanks to Nix, we can actually ask Lix to upgrade your system directly. Run the following command:
```sh ```sh
sudo nix run \ sudo --preserve-env=PATH nix run \
--experimental-features "nix-command flakes" \ --experimental-features "nix-command flakes" \
--extra-substituters https://cache.lix.systems \ --extra-substituters https://cache.lix.systems --extra-trusted-public-keys "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" \
--trusted-public-keys "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" \ 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90-beta.1' -- \
'git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90-beta.0' -- \ upgrade-nix \
upgrade-nix --extra-substituters https://cache.lix.systems --extra-trusted-public-keys "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o="
``` ```
You should now have upgraded to Lix! You can verify this by asking the `nix` command You should now have upgraded to Lix! You can verify this by asking the `nix` command