How do I upgrade my system to nixos-unstable?

As explained in the manual’s section on upgrading, if you issue the following command as root: # nix-channel –list you will most likely see something like the following (if you were following the 16.09 branch for instance): nixos https://nixos.org/channels/nixos-16.09 By issuing the following command (still as root): # nix-channel –add https://nixos.org/channels/nixos-unstable nixos you will remove … Read more

When and how should default.nix, shell.nix and release.nix be used?

First of all, default.nix and shell.nix have special meanings in Nix tool, but release.nix is a convenience one. Next, default.nix is used as a default file when running nix-build, and shell.nix is used as a default file when running nix-shell. Just like you said. Next, default.nix isn’t used only for nix-build. For example, <nixpkgs/lib/default.nix> is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)