diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 60c119cb7352ebc306d4c550f8b026677f6212fc..e7e9bf3c5b4364af2a402642c3dbe2e6e65ae3fa 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -8,7 +8,7 @@ <!--==================================================================--> -<section xml:id="ssec-relnotes-1.3"><title>Release 1.3 (January 3, 2013)</title> +<section xml:id="ssec-relnotes-1.3"><title>Release 1.3 (January 4, 2013)</title> <para>This is primarily a bug fix release. When this version is first run on Linux, it removes any immutable bits from the Nix store and diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index a8fa1108bfb4cdb82eb73fb7de7aa77860300e2b..a6b1a35e77efebd57c57e4c376a2f53adf3a9b51 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -445,6 +445,8 @@ void LocalStore::deletePathRecursive(GCState & state, const Path & path) printMsg(lvlInfo, format("deleting `%1%'") % path); + state.results.paths.insert(path); + /* If the path is not a regular file or symlink, move it to the trash directory. The move is to ensure that later (when we're not holding the global GC lock) we can delete the path without