From dfda499326bc8f0128d4a69a00e94a155115d3b5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 19 Jul 2021 12:07:23 +0200 Subject: [PATCH] Downgrade warning message If a store doesn't support GC, then we don't need to warn about the inability to create roots. --- src/libstore/store-api.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/. `path' is supposed