Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-04 | StoreAPI -> Store | Eelco Dolstra | |
Calling a class an API is a bit redundant... | |||
2016-02-04 | Eliminate the "store" global variable | Eelco Dolstra | |
Also, move a few free-standing functions into StoreAPI and Derivation. Also, introduce a non-nullable smart pointer, ref<T>, which is just a wrapper around std::shared_ptr ensuring that the pointer is never null. (For reference-counted values, this is better than passing a "T&", because the latter doesn't maintain the refcount. Usually, the caller will have a shared_ptr keeping the value alive, but that's not always the case, e.g., when passing a reference to a std::thread via std::bind.) | |||
2015-10-29 | int2String() -> std::to_string() | Eelco Dolstra | |
2015-10-21 | Show progress indicator for builtin fetchurl | Eelco Dolstra | |
2015-10-21 | Disable TLS verification for builtin fetchurl | Eelco Dolstra | |
This makes it consistent with the Nixpkgs fetchurl and makes it work in chroots. We don't need verification because the hash of the result is checked anyway. | |||
2015-10-08 | Revert to CURLOPT_PROGRESSFUNCTION | Eelco Dolstra | |
CURLOPT_XFERINFOFUNCTION isn't widely supported yet. http://hydra.nixos.org/build/26679495 | |||
2015-10-07 | Show progress during downloads | Eelco Dolstra | |
2015-07-20 | Make <nix/fetchurl.nix> a builtin builder | Eelco Dolstra | |
This ensures that 1) the derivation doesn't change when Nix changes; 2) the derivation closure doesn't contain Nix and its dependencies; 3) we don't have to rely on ugly chroot hacks. |