Skip to content

Instantly share code, notes, and snippets.

@aforemny
Created March 10, 2013 12:04
Show Gist options
  • Select an option

  • Save aforemny/5128292 to your computer and use it in GitHub Desktop.

Select an option

Save aforemny/5128292 to your computer and use it in GitHub Desktop.
% cat /etc/nix/nix.conf
# WARNING: this file is generated.
build-users-group = nixbld
build-max-jobs = 2
build-use-chroot = false
build-chroot-dirs = /dev /dev/pts /proc /bin /nix/store/043zrsanirjh8nbc5vqpjn93hhrf107f-bash-4.2-p24 /nix/store/27116bbxhi8dd7l2fjjfbwj6p35ql7n7-readline-6.2 /nix/store/4gv9gby4bn1y0rlw3k0d5lyqy0yfkrc6-gcc-4.6.3 /nix/store/ahg5mlj2mlp7yfl3x875pq95ar763vgj-ncurses-5.9 /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13 /nix/store/i3mqzy76lf51v5zqxjxyvf11j25iwycd-zlib-1.2.7 /nix/store/jfcs9xnfbmiwqs224sb0qqsybbfl3sab-linux-headers-2.6.35.14 /nix/store/qvs2rj2ia5vci3wsdb7qvydrmacig4pg-bash-4.2-p24
binary-caches = http://nixos.org/binary-cache
trusted-binary-caches = http://hydra.nixos.org
% nix-env -iA haskellEnv --option binary-caches http://hydra.nixos.org
replacing old `haskell-env-ghc-7.6.2'
installing `haskell-env-ghc-7.6.2'
error: substituter `/nix/store/k3nrp236w5vfa53v6mw6ndpiixm6k0x4-nix-1.3/libexec/nix/substituters/download-from-binary-cache.pl' failed: binary cache ‘http://hydra.nixos.org’ is not trusted (please add it to ‘trusted-binary-caches’ [http://nixos.org/binary-cache] in /etc/nix/nix.conf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment