Compare commits

...

5 Commits

5 changed files with 31 additions and 26 deletions

View File

@ -6,6 +6,6 @@ Like janetdocs or clojuredocs, but for guile!
* Developing
** Guix
Just run src_bash{guix shell -Df guix.scm -m manifest.scm} to get a developer environment.
Either run src_bash{scripts/launch-dev-shell} or run src_bash{guix shell -Df guix.scm -m manifest.scm} to get a developer environment.
manifest.scm is intended for dev tools related programs.

View File

@ -16,27 +16,26 @@
(or (git-predicate (current-source-directory))
(const #t)))
(define vcs-file?
(or (git-predicate (current-source-directory))
(const #t)))
(define-public guile-docs
(package
(name "guile-guile-docs")
(version "0.1")
(source (local-file "." "guile-checkout"
#:recursive? #t
#:select? vcs-file?))
(build-system copy-build-system)
(arguments `())
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)))
(inputs (list guile-3.0
haunt))
(propagated-inputs `())
(synopsis "")
(description "")
(home-page "")
(license license:gpl3+)))
(package
(name "guile-guile-docs")
(version "0.1")
(source (local-file "." "guile-checkout"
#:recursive? #t
#:select? vcs-file?))
(build-system copy-build-system)
(arguments `())
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)))
(inputs (list guile-3.0
haunt))
(propagated-inputs `())
(synopsis "")
(description "")
(home-page "")
(license license:gpl3+))
guile-docs

View File

@ -16,7 +16,10 @@
((scheme-file "docs") (scheme-file "reflection")))
(scheme-file "guile-docs")))
(tests ())
(programs ())
(programs
((directory
"scripts"
((text-file "launch-dev-shell")))))
(documentation
((directory "doc" ((texi-file "guile-docs")))
(text-file "COPYING")

View File

@ -2,4 +2,4 @@
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.
(specifications->manifest (list "guile-hall" "guile"))
(specifications->manifest (list "guile-hall" "guix" "git"))

3
scripts/launch-dev-shell Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
guix shell -Df guix.scm -m manifest.scm "$@"