Re: [Nix-dev] nix on the corporate world (no direct internet access)

2016-07-09 Thread Vladimír Čunát
On 07/09/2016 03:42 PM, Utku Demir wrote: > nix can make hundreds of HTTP requests to the cache when realising a > derivation. The default was lowered to 25 since nix-1.11, but you can easily set that in nix.conf. https://github.com/NixOS/nix/commit/c0d4173263 smime.p7s Description: S/MIME

Re: [Nix-dev] nix on the corporate world (no direct internet access)

2016-07-09 Thread Vladimír Čunát
On 07/09/2016 03:42 PM, Utku Demir wrote: > nix can make hundreds of HTTP requests to the cache when realising a > derivation. The defaults was cut to 25 since nix-1.11, but you can easily set that in nix.conf. https://github.com/NixOS/nix/commit/c0d4173263 smime.p7s Description: S/MIME

Re: [Nix-dev] nix on the corporate world (no direct internet access)

2016-07-09 Thread Utku Demir
On our company, we're dealing a lot with nasty corp network environments, and using nix only with minor hiccups. We have the exact same problem (Corporate firewalls); but a slightly different use case, our only objective is to install a specific derivation. We first generate a binary cache and

Re: [Nix-dev] nix on the corporate world (no direct internet access)

2016-07-08 Thread Vladimír Čunát
On 07/08/2016 12:56 PM, Azul wrote: > My question, is has anyone done this ? I'm not aware, but that doesn't mean much. > would a silly url like http://artifactory/remote_nix/file_paths > invalidate the hydra cache and force all packages to be built locally ? Changing cache.nixos.org to

[Nix-dev] nix on the corporate world (no direct internet access)

2016-07-08 Thread Azul
Hey all, So I am using nix on one of those nasty corp network environments, where not even DNS works and everything needs to go through the corporate proxy. The proxy is slow, a lot of URLs are blocked down as 'gambling' (just try to download a jenkins plugin !!) and using tooling like cntlm is