Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created July 8, 2019 00:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save exarkun/bb26826e43165a08d70dfc8cb357ce03 to your computer and use it in GitHub Desktop.
[root@nixos:~]# export PATH=/nix/store/n57gpxw3abzmyca14g1ww9bcnc0rsrlj-nix-2.0/bin/:$PATH
[root@nixos:~]# export _NIXOS_REBUILD_REEXEC=1
[root@nixos:~]# nix --version
nix (Nix) 2.0
[root@nixos:~]# _NIXOS_REBUILD_REEXEC=1 nixos-rebuild test
building Nix...
warning: unknown setting 'signed-binary-caches'
error: cannot open connection to remote store 'daemon': current Nix store schema is version 10, but I only support 7
(use '--show-trace' to show detailed location information)
warning: unknown setting 'signed-binary-caches'
error: attribute 'nixFallback' in selection path 'nixFallback' not found
warning: unknown setting 'signed-binary-caches'
error: cannot open connection to remote store 'daemon': current Nix store schema is version 10, but I only support 7
(use '--show-trace' to show detailed location information)
warning: unknown setting 'signed-binary-caches'
error: cannot open connection to remote store 'daemon': current Nix store schema is version 10, but I only support 7
warning: don't know how to get latest 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:~]# echo $NIX_REMOTE
[root@nixos:~]# nix-channel --list
warning: unknown setting 'signed-binary-caches'
nixos https://nixos.org/channels/nixos-18.03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment