about summary refs log tree commit diff
path: root/src/libstore/profiles.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-03-01 only delete things older than current gen and update logic in doc asMatthew O'Gorman1-4/+9
well
2018-03-01 remove unused variable and make sure to check that the currentMatthew O'Gorman1-2/+2
generation is not the one we are deleting
2018-03-01 this updates issues that were addressed by people in prMatthew O'Gorman1-11/+6
2018-03-01 Implement --delete-generations + flag for keeping last N number of generationsMatthew O'Gorman1-0/+23
2017-07-30 Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim1-5/+5
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2016-11-26 Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra1-5/+5
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25 Get rid of unicode quotes (#1140)Guillaume Maudoux1-5/+5
2016-09-21 printMsg(lvlError, ...) -> printError(...) etc.Eelco Dolstra1-2/+2
2016-06-02 Allow setting the state directory as a store parameterEelco Dolstra1-1/+1
E.g. "local?store=/tmp/store&state=/tmp/var".
2016-05-04 Cleanup: Remove singleton()Eelco Dolstra1-2/+1
2016-02-11 Move addPermRoot into StoreEelco Dolstra1-1/+1
2016-02-04 StoreAPI -> StoreEelco Dolstra1-1/+1
Calling a class an API is a bit redundant...
2016-02-04 Eliminate the "store" global variableEelco Dolstra1-2/+2
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-envEelco Dolstra1-0/+82
Also, make sure --delete-older-than doesn't delete the current generation.
2015-05-21 Move profiles.{cc,hh} to libstoreEelco Dolstra1-0/+155