Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-09-21 | printMsg(lvlError, ...) -> printError(...) etc. | Eelco Dolstra | 1 | -1/+1 | |
2016-02-24 | Eliminate reserveSpace flag | Eelco Dolstra | 1 | -1/+1 | |
2016-02-04 | Eliminate the "store" global variable | Eelco Dolstra | 1 | -1/+1 | |
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-18 | Fix compilation error due to missing ENOENT on cygwin | Sander van der Burg | 1 | -0/+1 | |
2015-08-21 | nix-collect-garbage: Revive --max-freed | Eelco Dolstra | 1 | -3/+7 | |
Fixes #609. | |||||
2015-07-17 | nix-collect-garbage: Handle ENOENT | Eelco Dolstra | 1 | -1/+6 | |
Don't barf trying to read a link that just got deleted. Fixes #575. | |||||
2015-05-22 | Remove dead code | Eelco Dolstra | 1 | -18/+0 | |
2015-05-21 | nix-collect-garbage: Don't call nix-env | Eelco Dolstra | 1 | -7/+7 | |
Also, make sure --delete-older-than doesn't delete the current generation. | |||||
2015-05-21 | nix-collect-garbage: Call collectGarbage() internally | Eelco Dolstra | 1 | -2/+9 | |
2015-05-21 | nix-collect-garbage: Don't barf on unreadable directories | Eelco Dolstra | 1 | -5/+7 | |
And don't try to delete generations from unwritable directories. | |||||
2015-05-21 | nix-collect-garbage: Remove redundant call to getFileType | Eelco Dolstra | 1 | -1/+1 | |
2015-05-06 | nix-collect-garbage: Do not pass an empty argument. Closes #530 | Luca Bruno | 1 | -1/+5 | |
2015-05-06 | nix-collect-garbage: Fix deleting old generations | William A. Kennington III | 1 | -1/+1 | |
The call to nix-env expects a string which represents how old the derivations are or just "old" which means any generations other than the current one in use. Currently nix-collect-garbage passes an empty string to nix-env when using the -d option. This patch corrects the call to nix-env such that it follows the old behavior. | |||||
2015-04-22 | nix-collect-garbage: translate to C++ | Luca Bruno | 1 | -0/+87 | |