[Nix-dev] http proxy not detected

Jeevakan Suresh Jeevakan.Suresh at macquarie.com
Tue Aug 19 04:55:30 CEST 2008


Hi Guys
 
I'm having some trouble getting nix to detect my HTTP proxy settings. It
seems to work as expected when using channels. So the below works.
 
$ nix-channel --add channel_name
http://nix.cs.uu.nl/dist/nix/channels-v3/nixpkgs-unstable
$ nix-channel --update
...
$ nix-env -i coreutils # this works as expected

However, if I checkout the packages via svn, my environment proxy
settings don't trickle through, so (after clearing out everything) this
breaks.

nix-env -if /scratch/nix-pkgs coreutils # this hangs.

>From poking into the code, it seems in build.cc drv.env["impureEnvVars"]
is empty (although the relevant config for fetchurl has this variable
defined). Any ideas on whats going on?

Cheers
Jeeva.

NOTICE
This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited.




More information about the nix-dev mailing list