Hi, I have written a package definition (attached and also available on the codeberg repository [1]) for an Info manual of the package guile-srfi-234. (it is just the original SRFI-234 HTML document adapted to org-mode, so it may be compiled into an Info manual)
When I do something like:
guix shell --preserve='^TERM$' texinfo -f guile-srfi-234-manual.scm
info
I do not see any mention of srfi-234. It is not in the
`$GUIX_ENVIRONMENT/share/info/dir` file.
When I:
echo $GUIX_ENVIRONMENT/share/info/*
the output is has a `.../share/info/srfi-234.info.gz`.
What is happening?
Many thanks,
Yuval Langer.
(Attached also is the org-mode source file for the manual, available
too on its codeberg repository [2].)
[1]:
https://codeberg.org/kakafarm/kakafarm-guix-channel/src/commit/e94e3c568741911c224b2e9deb0b90f405c67e4c/kakafarm/packages/guile-xyz.scm
[2]:
https://codeberg.org/kakafarm/guile-srfi-234-manual/src/commit/eb13bc13f5b94ae837a6cc6867ccb46595a12ea3/srfi-234.org
(use-modules
(gnu packages emacs)
(gnu packages texinfo)
(gnu packages)
(guix build-system copy)
(guix gexp)
(guix git-download)
((guix licenses) #:prefix license:)
(guix packages)
)
(define-public guile-srfi-234-manual
(let ((version "1.0.0")
(revision "1")
(commit "eb13bc13f5b94ae837a6cc6867ccb46595a12ea3"))
(package
(name "guile-srfi-234-manual")
(version (git-version version revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/kakafarm/guile-srfi-234-manual")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "19rrvnjrfxil8ms8zhf9ns2yq80pwwizrbig635dvg27zxij1lzd"))))
(build-system copy-build-system)
(arguments
(list
#:install-plan #~'(("srfi-234.info" "share/info/"))
#:phases #~(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'compile-the-files
(lambda _
(import (ice-9 ftw))
(system* "emacs"
"--batch"
"--eval"
"(progn
(find-file \"srfi-234.org\")
(org-texinfo-export-to-info))")
(mkdir-p (string-append #$output "/share/info"))
(copy-file "srfi-234.info"
(string-append #$output "/share/info/srfi-234.info")
))))))
(native-inputs (list emacs texinfo))
(home-page "https://codeberg.org/kakafarm/guile-srfi-234-manual")
(synopsis "Topological sorting module for Guile Scheme")
(description
"Topological sorting is an algorithm that takes a graph consisting of
nodes and other nodes that depend on them, forming a partial order, and
returns a list representing a total ordering of the graph. If the graph is
cyclic, the topological sort will fail. The procedure topological-sort returns
three values. If sorting succeeds, the first value contains the result and the
second and third are #false. If sorting fails, the result is #false and the
second and third value may provide additional information about the error.")
(license license:expat))))
guile-srfi-234-manual
srfi-234.org
Description: Lotus Organizer
