aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-07-19 12:07:23 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-07-22 09:58:50 +0200
commitdfda499326bc8f0128d4a69a00e94a155115d3b5 (patch)
tree5924d7a5e71b8d89a9938d7a04a0d6d073dafb64
parent3bb8667a1758ad10b5f8621f7e187c38c9c860c0 (diff)
Downgrade warning message
If a store doesn't support GC, then we don't need to warn about the inability to create roots.
-rw-r--r--src/libstore/store-api.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 453faeb9f..4faa65228 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -543,7 +543,7 @@ public:
/* Add a store path as a temporary root of the garbage collector.
The root disappears as soon as we exit. */
virtual void addTempRoot(const StorePath & path)
- { warn("not creating temp root, store doesn't support GC"); }
+ { debug("not creating temporary root, store doesn't support GC"); }
/* Add an indirect root, which is merely a symlink to `path' from
/nix/var/nix/gcroots/auto/<hash of `path'>. `path' is supposed