From a440eb18eaa6c2fe12d91db1c9d62e79823e7ad0 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Mon, 1 Aug 2016 07:51:38 -0700 Subject: [PATCH 4/9] Fix docstrings: these procedures return derivations --- gnu/system.scm | 4 ++-- gnu/system/grub.scm | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/system.scm b/gnu/system.scm index 7edb018..1d1ed5e 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -718,8 +718,8 @@ listed in OS. The C library expects to find it under (store-file-system (operating-system-file-systems os))) (define* (operating-system-grub.cfg os #:optional (old-entries '())) - "Return the GRUB configuration file for OS. Use OLD-ENTRIES to populate the -\"old entries\" menu." + "Return a derivation which builds the GRUB configuration file for OS. Use +OLD-ENTRIES to populate the \"old entries\" menu." (mlet* %store-monad ((system (operating-system-derivation os)) (root-fs -> (operating-system-root-file-system os)) diff --git a/gnu/system/grub.scm b/gnu/system/grub.scm index 4592747..c426d5f 100644 --- a/gnu/system/grub.scm +++ b/gnu/system/grub.scm @@ -239,10 +239,10 @@ code." #:key (system (%current-system)) (old-entries '())) - "Return the GRUB configuration file corresponding to CONFIG, a - object, and where the store is available at STORE-FS, a - object. OLD-ENTRIES is taken to be a list of menu entries -corresponding to old generations of the system." + "Return a derivation which builds the GRUB configuration file corresponding +to CONFIG, a object, and where the store is available at +STORE-FS, a object. OLD-ENTRIES is taken to be a list of menu +entries corresponding to old generations of the system." (define all-entries (append entries (grub-configuration-menu-entries config))) -- 2.9.2