nongnu: clhs: Fix missing file:// scheme in documentation URLs.

* nongnu/packages/emacs.scm (clhs)[arguments]: Prefix hyperspec-dir with
"file://".
This commit is contained in:
Pierre Neidhardt 2020-11-10 18:16:03 +01:00
parent eebd4c80c2
commit 67be35b7d3
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -44,7 +44,8 @@
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(delete-file "clhs-use-local.el") (delete-file "clhs-use-local.el")
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(hyperspec-dir (string-append out "/share/HyperSpec-7-0/"))) (hyperspec-dir (string-append "file://" out
"/share/HyperSpec-7-0/")))
(with-output-to-file "clhs.el" (with-output-to-file "clhs.el"
(lambda () (lambda ()
(format #t ";;;###autoload~%~s~%~%~s" (format #t ";;;###autoload~%~s~%~%~s"