top | item 44615515

(no title)

guilhas | 7 months ago

In Arch if I needed something updated today you would have done

> pacman -Sy

> pacman -S package_name

Leavig the rest system unchanged

In Nixos

> nix-channel --update

> Add package to /etc/nixos/configuration.nix

> nixos-rebuild switch

Which would update everything

Maybe we could do

> nix-channel --update

> nix-env -iA packagename

But I am not sure which version would be installed. And it would definitely go against the purpose of using nixos

> nix-shell -p package_name

It is also quite cool for trying packages without installing permanently

discuss

order

No comments yet.