Nix : Fix channel switch.
This commit is contained in:
parent
9f9e67bd5e
commit
759670d9e9
|
@ -22,12 +22,14 @@ function nix_find() {
|
||||||
function nix_unstable() {
|
function nix_unstable() {
|
||||||
nix-channel --remove nixos
|
nix-channel --remove nixos
|
||||||
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
||||||
|
nix-channel --update
|
||||||
}
|
}
|
||||||
|
|
||||||
# Switch to Small Unstable branch (for server).
|
# Switch to Small Unstable branch (for server).
|
||||||
function nix_unstable_small() {
|
function nix_unstable_small() {
|
||||||
nix-channel --remove nixos
|
nix-channel --remove nixos
|
||||||
nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos
|
nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos
|
||||||
|
nix-channel --update
|
||||||
}
|
}
|
||||||
|
|
||||||
# Display current channel.
|
# Display current channel.
|
||||||
|
|
Reference in a new issue