Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created July 6, 2017 21:27
Show Gist options
  • Save cleverca22/85912eeb24380e0446f79386e9b1c5c4 to your computer and use it in GitHub Desktop.
Save cleverca22/85912eeb24380e0446f79386e9b1c5c4 to your computer and use it in GitHub Desktop.
[root@amd-nixos:~]# nixos-rebuild build --option binary-caches http://nas.localnet:8081
building Nix...
building the system configuration...
download-from-binary-cache.pl: binary cache ‘http://nas.localnet:8081’ is not trusted (please add it to ‘trusted-binary-caches’ in /etc/nix/nix.conf)
error: substituter ‘download-from-binary-cache.pl’ died unexpectedly
[root@amd-nixos:~]# grep trusted-binary-caches /etc/nix/nix.conf
trusted-binary-caches = http://nas.localnet:8081
[root@amd-nixos:~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment