Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-06-02 | Allow setting the state directory as a store parameter | Eelco Dolstra | 1 | -2/+2 | |
E.g. "local?store=/tmp/store&state=/tmp/var". | |||||
2016-02-04 | StoreAPI -> Store | Eelco Dolstra | 1 | -2/+2 | |
Calling a class an API is a bit redundant... | |||||
2016-02-04 | Eliminate the "store" global variable | Eelco Dolstra | 1 | -1/+3 | |
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-05-21 | nix-collect-garbage: Don't call nix-env | Eelco Dolstra | 1 | -1/+9 | |
Also, make sure --delete-older-than doesn't delete the current generation. | |||||
2015-05-21 | Move profiles.{cc,hh} to libstore | Eelco Dolstra | 1 | -0/+55 | |