Skip to content

Commit

Permalink
Remove obsolete references to manifests
Browse files Browse the repository at this point in the history
Closes #323.
  • Loading branch information
edolstra committed Feb 1, 2018
1 parent c129fc6 commit 8556998
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/libstore/gc.cc
Expand Up @@ -324,10 +324,8 @@ Roots LocalStore::findRootsNoTemp()
{
Roots roots;

/* Process direct roots in {gcroots,manifests,profiles}. */
/* Process direct roots in {gcroots,profiles}. */
findRoots(stateDir + "/" + gcRootsDir, DT_UNKNOWN, roots);
if (pathExists(stateDir + "/manifests"))
findRoots(stateDir + "/manifests", DT_UNKNOWN, roots);
findRoots(stateDir + "/profiles", DT_UNKNOWN, roots);

/* Add additional roots returned by the program specified by the
Expand Down
1 change: 0 additions & 1 deletion tests/common.sh.in
Expand Up @@ -11,7 +11,6 @@ export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
export NIX_STATE_DIR=$TEST_ROOT/var/nix
export NIX_CONF_DIR=$TEST_ROOT/etc
export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
export _NIX_TEST_SHARED=$TEST_ROOT/shared
if [[ -n $NIX_STORE ]]; then
export _NIX_TEST_NO_SANDBOX=1
Expand Down

0 comments on commit 8556998

Please sign in to comment.