Ok, try this:
- configure nix.proxy like it should be in /etc/nixos/configuration.nix - build the new nix.conf: sudo nix-build '<nixpkgs/nixos>' -A config.environment.etc.\"nix/nix.conf\".source - overwrite nix.conf: sudo mv result /etc/nix/nix.conf - sudo nixos-rebuild => should work now with the proxy settings Wout. On Thu Nov 27 2014 at 2:13:03 PM masterdeZign <[email protected]> wrote: > > You should only need to do a > > > > 4) nix-build -A system "<nixos>" --option use-binary-caches false > > This step seems to require root privileges, because of "error: Nix > database directory `/nix/var/nix/db' is not writable: Permission > denied". > > However, it is not a problem. I use sudo -E or sudo su + export the > http_proxy and https_proxy variables. But the problem persists, > because curl does not download anything. > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
