Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created July 8, 2019 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/87e2e88b2dc48dc486ae01e0cd044a47 to your computer and use it in GitHub Desktop.
Save exarkun/87e2e88b2dc48dc486ae01e0cd044a47 to your computer and use it in GitHub Desktop.
[root@nixos:~]# nix-channel --list
nixos https://nixos.org/channels/nixos-17.09
[root@nixos:~]# nixos-rebuild build --upgrade
downloading Nix expressions from ‘https://releases.nixos.org/nixos/17.09/nixos-17.09.3269.14f9ee66e63/nixexprs.tar.xz’...
downloading ‘https://releases.nixos.org/nixos/17.09/nixos-17.09.3269.14f9ee66e63/nixexprs.tar.xz’... [10002/10010 KiB, 259.6 KiB/s]
unpacking channels...
building Nix...
building the system configuration...
[root@nixos:~]# nix-channel --list
nixos https://nixos.org/channels/nixos-17.09
[root@nixos:~]# nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
[root@nixos:~]# nix-channel --list^C
[root@nixos:~]# nix
nix-build nix-copy-closure nix-generate-patches nix-instantiate nixos-container nixos-install nixos-version nix-push
nix-channel nix-daemon nix-hash nix-log2xml nixos-generate-config nixos-option nix-prefetch-url nix-shell
nix-collect-garbage nix-env nix-install-package nixos-build-vms nixos-help nixos-rebuild nix-pull nix-store
[root@nixos:~]# nix-channel --add https://nixos.org/channels/nixos-19.03 nixos^C
[root@nixos:~]# nixos-rebuild build --upgrade
downloading Nix expressions from ‘https://releases.nixos.org/nixos/19.03/nixos-19.03.173064.af5178cf779/nixexprs.tar.xz’...
downloading ‘https://releases.nixos.org/nixos/19.03/nixos-19.03.173064.af5178cf779/nixexprs.tar.xz’... [12453/12573 KiB, 375.9 KiB/s]
unpacking channels...
created 2 symlinks in user environment
building Nix...
error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/gtk/gtk-icon-cache.nix:55:77
(use ‘--show-trace’ to show detailed location information)
error: attribute ‘nixFallback’ in selection path ‘nixFallback’ not found
error: evaluation aborted with the following error message: ‘
This version of Nixpkgs requires Nix >= 2.0, please upgrade:
- If you are running NixOS, `nixos-rebuild' can be used to upgrade your system.
- Alternatively, with Nix > 2.0 `nix upgrade-nix' can be used to imperatively
upgrade Nix. You may use `nix-env --version' to check which version you have.
- If you installed Nix using the install script (https://nixos.org/nix/install),
it is safe to upgrade by running it again:
curl https://nixos.org/nix/install | sh
For more information, please see the NixOS release notes at
https://nixos.org/nixos/manual or locally at
/nix/store/y50xn44hqqghhivmf39fqhzqamsmmmks-nixos-19.03.173064.af5178cf779/nixos/nixos/doc/manual/release-notes.
If you need further help, see https://nixos.org/nixos/support.html
/tmp/nixos-rebuild.q2ovDY/nix
building the system configuration...
error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/gtk/gtk-icon-cache.nix:55:77
(use ‘--show-trace’ to show detailed location information)
[root@nixos:~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment