summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 67a05a10ff..656dc357f5 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -33078,8 +33078,7 @@ The common way to create this file is as follows:
(let* ((out (assoc-ref %outputs "out"))
(targetdir (string-append out "/share/" ,name))
(app (string-append out "/bin/" ,name))
- (Rbin (string-append (assoc-ref %build-inputs "r-min")
- "/bin/Rscript")))
+ (Rbin (search-input-file %build-inputs "/bin/Rscript")))
;; @dots{}
(mkdir-p (string-append out "/bin"))
(call-with-output-file app