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 * Developing
** Guix ** 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. manifest.scm is intended for dev tools related programs.

View File

@ -16,27 +16,26 @@
(or (git-predicate (current-source-directory)) (or (git-predicate (current-source-directory))
(const #t))) (const #t)))
(define vcs-file? (define-public guile-docs
(or (git-predicate (current-source-directory)) (package
(const #t))) (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 guile-docs
(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+))

View File

@ -16,7 +16,10 @@
((scheme-file "docs") (scheme-file "reflection"))) ((scheme-file "docs") (scheme-file "reflection")))
(scheme-file "guile-docs"))) (scheme-file "guile-docs")))
(tests ()) (tests ())
(programs ()) (programs
((directory
"scripts"
((text-file "launch-dev-shell")))))
(documentation (documentation
((directory "doc" ((texi-file "guile-docs"))) ((directory "doc" ((texi-file "guile-docs")))
(text-file "COPYING") (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 ;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option. ;; 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 "$@"