Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 40f0e3b366458a6f1bc09a366a218abf13a1af1e
https://github.com/NixOS/nix/commit/40f0e3b366458a6f1bc09a366a218abf13a1af1e
Author: Eelco Dolstra <edols...@gmail.com>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M src/libstore/download.cc
Log Message:
-----------
Include "curl" in the User-Agent header
Some sites (e.g. BitBucket) give a helpful 401 error when trying to
download a private archive if the User-Agent contains "curl", but give
a redirect to a login page otherwise (so for instance
"nix-prefetch-url" will succeed but produce useless output).
Commit: b63f79175e128f8ae394d2be7d65999263eebe27
https://github.com/NixOS/nix/commit/b63f79175e128f8ae394d2be7d65999263eebe27
Author: Eelco Dolstra <edols...@gmail.com>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M corepkgs/fetchurl.nix
Log Message:
-----------
<nix/fetchurl.nix>: Remove unnecessary assertion
Commit: bd5388e7b22daa2d22c21578ef5735be8b8353a6
https://github.com/NixOS/nix/commit/bd5388e7b22daa2d22c21578ef5735be8b8353a6
Author: Eelco Dolstra <edols...@gmail.com>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M doc/manual/command-ref/conf-file.xml
Log Message:
-----------
Tweak netrc docs
Commit: cde4b609192d11dc299ea3c27d7f92735f161db1
https://github.com/NixOS/nix/commit/cde4b609192d11dc299ea3c27d7f92735f161db1
Author: Eelco Dolstra <edols...@gmail.com>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M perl/lib/Nix/Store.xs
M src/libmain/shared.cc
M src/libstore/download.cc
M src/libstore/globals.cc
M src/libstore/globals.hh
Log Message:
-----------
Move netrcFile to Settings
Also get rid of Settings::processEnvironment(), it appears to be
useless.
Commit: 302386f775eea309679654e5ea7c972fb6e7b9af
https://github.com/NixOS/nix/commit/302386f775eea309679654e5ea7c972fb6e7b9af
Author: Eelco Dolstra <edols...@gmail.com>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M src/libstore/build.cc
M src/libstore/builtins.cc
M src/libstore/builtins.hh
M src/libutil/util.cc
M src/libutil/util.hh
Log Message:
-----------
Support netrc in <nix/fetchurl.nix>
This allows <nix/fetchurl.nix> to fetch private Git/Mercurial
repositories, e.g.
import <nix/fetchurl.nix> {
url =
https://edols...@bitbucket.org/edolstra/my-private-repo/get/80a14018daed.tar.bz2;
sha256 = "1mgqzn7biqkq3hf2697b0jc4wabkqhmzq2srdymjfa6sb9zb6qs7";
}
where /etc/nix/netrc contains:
machine bitbucket.org
login edolstra
password blabla...
This works even when sandboxing is enabled.
To do: add unpacking support (i.e. fetchzip functionality).
Compare: https://github.com/NixOS/nix/compare/d1139ff36b5d...302386f775ee
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits