From d9e57db72479812cfa30ed8e30a6351959f9a2b2 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 23 Nov 2020 14:10:34 +0100 Subject: store: Fix ensure-path docstring. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suggested by Ludovic Courtès. * guix/store.scm (ensure-path): Fix the docstring. --- guix/store.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix/store.scm b/guix/store.scm index 11e2dae579..4da39971b5 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -1399,8 +1399,9 @@ (define build-things (status 1)))))))))))) (define-operation (ensure-path (store-path path)) - "Make PATH a temporary root for the duration of the current session. -Return #t." + "Ensure that a path is valid. If it is not valid, it may be made valid by +running a substitute. As a GC root is not created by the daemon, you may want +to call ADD-TEMP-ROOT on that store path." boolean) (define-operation (add-temp-root (store-path path)) -- cgit v1.2.3