Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
85569985
Unverified
Commit
85569985
authored
7 years ago
by
Eelco Dolstra
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolete references to manifests
Closes #323.
parent
c129fc6e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/libstore/gc.cc
+1
-3
1 addition, 3 deletions
src/libstore/gc.cc
tests/common.sh.in
+0
-1
0 additions, 1 deletion
tests/common.sh.in
with
1 addition
and
4 deletions
src/libstore/gc.cc
+
1
−
3
View file @
85569985
...
@@ -324,10 +324,8 @@ Roots LocalStore::findRootsNoTemp()
...
@@ -324,10 +324,8 @@ Roots LocalStore::findRootsNoTemp()
{
{
Roots
roots
;
Roots
roots
;
/* Process direct roots in {gcroots,
manifests,
profiles}. */
/* Process direct roots in {gcroots,profiles}. */
findRoots
(
stateDir
+
"/"
+
gcRootsDir
,
DT_UNKNOWN
,
roots
);
findRoots
(
stateDir
+
"/"
+
gcRootsDir
,
DT_UNKNOWN
,
roots
);
if
(
pathExists
(
stateDir
+
"/manifests"
))
findRoots
(
stateDir
+
"/manifests"
,
DT_UNKNOWN
,
roots
);
findRoots
(
stateDir
+
"/profiles"
,
DT_UNKNOWN
,
roots
);
findRoots
(
stateDir
+
"/profiles"
,
DT_UNKNOWN
,
roots
);
/* Add additional roots returned by the program specified by the
/* Add additional roots returned by the program specified by the
...
...
This diff is collapsed.
Click to expand it.
tests/common.sh.in
+
0
−
1
View file @
85569985
...
@@ -11,7 +11,6 @@ export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
...
@@ -11,7 +11,6 @@ export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
export NIX_STATE_DIR=$TEST_ROOT/var/nix
export NIX_STATE_DIR=$TEST_ROOT/var/nix
export NIX_CONF_DIR=$TEST_ROOT/etc
export NIX_CONF_DIR=$TEST_ROOT/etc
export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
export _NIX_TEST_SHARED=$TEST_ROOT/shared
export _NIX_TEST_SHARED=$TEST_ROOT/shared
if [[ -n $NIX_STORE ]]; then
if [[ -n $NIX_STORE ]]; then
export _NIX_TEST_NO_SANDBOX=1
export _NIX_TEST_NO_SANDBOX=1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment