On Mon, Sep 12, 2016 at 02:32:08AM +0200, Tobias Geerinckx-Rice wrote: > * gnu/packages/networking.scm (sslh): New variable.
Interesting package! > + ;; Many of these files are mentioned in the man page. Install them. > + (add-after 'install 'install-documentation > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (doc (string-append out "/share/doc"))) > + (install-file "README.md" doc) > + (for-each > + (lambda (file) > + (install-file file (string-append doc > "/examples"))) > + (append (find-files "." "\\.cfg") > + (find-files "scripts" ".*")))) Rather than '/share/doc', I think the doc variable should use '/share/doc/sslh'. Otherwise, when installed into a profile, the examples will be in '~/.guix-profile/share/doc'. It would be better if they were in '~/.guix-profile/share/doc/sslh'.