diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-02-06 21:49:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-02-06 21:49:47 +0100 |
commit | 6e37066e76ce4ffaf8328242d941ca2e0af2965a (patch) | |
tree | 9d7337bc9b5ccc940e2df491582c036f85e08e74 /tests | |
parent | c37b2b2aa5326feeeb4fa8edff988adf6fb96f15 (diff) | |
download | patches-6e37066e76ce4ffaf8328242d941ca2e0af2965a.tar patches-6e37066e76ce4ffaf8328242d941ca2e0af2965a.tar.gz |
daemon: Add '--gc-keep-outputs' and '--gc-keep-derivations'.
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_GC_KEEP_OUTPUTS,
GUIX_OPT_GC_KEEP_DERIVATIONS): New macros.
(options): Add 'gc-keep-outputs' and 'gc-keep-derivations'.
(string_to_bool): New function.
(parse_opt): Honor GUIX_OPT_GC_KEEP_DERIVATIONS and
GUIX_OPT_GC_KEEP_OUTPUTS.
* doc/guix.texi (Invoking guix-daemon): Document --gc-keep-outputs and
--gc-keep-derivations.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions