Change:
Just nix-channel --add "" nixos and trying to nixos-rebuild dry-build --upgrade It says error: unknown hash algorithm ‘sha512’, at /nix/store/w4kmgqafriggn0xrb8xsgpm42y8nykrv-nixos-16.03.733./nixos/pkgs/build- Set up a new channel, then --upgrade 09.1245. (Dingo) nix-env (Nix) 1.10 Should i return to 15.09 and install something?
I'm no expert but you can try following guide. I think should work
Try any action other than . It should fetch a version of Nix capable of understanding first.
Huh, I thought I pushed a check for sha512 support.
We should probably just bump the required version to 1.11 for nixpkgs.
Yes, it fetched it. But it can't install it for the same reason...
I installed (nix-install-package) new nix from but seems to me, my system is broken now... Still the same thing — unknown hash algorithm ‘sha512’ And in addition, error: creating statement: table ValidPaths has no column named ultimate when trying to --upgrade or even nix-collect-garbage I always can fully reinstall the system, it's not very difficult because of Nix system, but i prefer to find another way...
Do you have Firefox in your configuration? That's the only package in 16.03 that currently uses a sha-512 hash. Maybe we should revert that to sha-1/256.
Yes i do (did). VERY THANKS! "nixos-rebuild build" is fine without firefox (i install it later) — Installation finished. No error reported. Now rebooting... ;-)
All that you adviced me works fine But all i did by myself caused my system to break ;-) Now most of commands (nix-env, nix-collect-garbage and nixos-rebuild [...] --upgrade) return error: creating statement: table ValidPaths has no column named ultimate Oh... It happened after i installed from How can i uninstall it (so the system would install some proper nix)?... 03.733. (Emu) error: creating statement: table ValidPaths has no column named ultimate nix (Nix) 1.12pre4591_c879a20
What does say?
7
Maybe you can just boot into an older configuration?
There are no older configs because i was an idiot ;-( I rebooted from "CD", nix-install did some (little) work and told the same (table ValidPaths has no column named ultimate) before the "Installation finished. No error reported."
Hmm, I wonder what policy to use on master for sha512, e.g. see I suspect that using it in core packages at this point might unnecessarily complicate upgrading.

Discussion:
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html <del> { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate, libsndfile, makeWrapper, pulseaudio, qt4, redland, rubberband, vampSDK </del> <ins> { stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate , libsndfile, makeWrapper, pkgconfig, pulseaudio, qt4, redland , rubberband, vampSDK </ins> }: <del> stdenv.mkDerivation { name = "sonic-visualiser-1.8"; </del> <ins> stdenv.mkDerivation rec { name = "sonic-visualiser-${version}"; version = "1.9"; </ins> src = fetchurl { <del> url = http://downloads.sourceforge.net/sv1/sonic-visualiser-1.8.tar.gz; sha256 = "16ik6q9n92wljvnqcv7hyzb9v3yp3ixxp6df9kasf53fii973dh7"; </del> <ins> url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz"; sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq"; </ins> }; buildInputs = [ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland <ins> pkgconfig </ins> # optional jackaudio # portaudio

description = "View and analyse contents of music audio files"; homepage = http://www.sonicvisualiser.org/; license = "GPLv2"; <del> maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.goibhniu ]; </del> <ins> maintainers = [ stdenv.lib.maintainers.marcweber stdenv.lib.maintainers.goibhniu ]; </ins> platforms = stdenv.lib.platforms.linux; }; }