Looks like I've found the key to the problem. Fetchsvn expression is not able to parse my $http_proxy var correctly. It extracts only host/port from it, while in my case username and password are also encoded. The correct implementation in my case should form the 4 fields in the .subversion/servers file generated:
http-proxy-host = proxy.avp.ru http-proxy-port = 3128 http-proxy-username=Mironov_S http-proxy-password=Password The conclusion is: fetchsvn has to be updated in order to handle more common cases Regards, Sergey 2015-07-21 11:13 GMT+03:00 Sergey Mironov <grr...@gmail.com>: > Hi! I am (forced into) using a proxy server. I have configured it as > shown at the end of the letter. In general, almost everything works. > Unfortunately, it seems that fetchsvn is not the case. I have the > following errors while trying to build the package from sources stored > in an SVN repository: > > exporting > https://svn.modelica.org/projects/Modelica_ElectricalSystems/InstantaneousSymmetricalComponents > (r7978) into > /nix/store/cfqczyh4imw9i8k7ickgaaxrvrlf4hi3-InstantaneousSymmetricalComponents-r7978 > svn: E670002: Unable to connect to a repository at URL > 'https://svn.modelica.org/projects/Modelica_ElectricalSystems/InstantaneousSymmetricalComponents' > svn: E670002: Could not resolve proxy server > 'Mironov_S:<MYPASS>@proxy.avp.ru': Name or service not known > builder for > ‘/nix/store/96kgnmzpi2c82gp89q5mbcahzv0qmmd1-InstantaneousSymmetricalComponents-r7978.drv’ > failed with exit code 1 > cannot build derivation > ‘/nix/store/q8mhi07n5rs3rxji1x8bz2q1v4361n42-fakegit.drv’: 1 > dependencies couldn't be built > > Git and other fetchers seem to work fine, As far as I know, it is the > SVN-specific problem. What can be wrong with it? > > Regards, > Sergey > > PS > > my working proxy is configured like this: > > networking = { > hostName = "ww2"; > networkmanager.enable = true; > proxy.default = "Mironov_S:${import <passwords/proxy>}@proxy.avp.ru:3128"; > }; _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev