Federico Beffa (2015-06-21 11:31 +0300) wrote: [...] > diff --git a/doc/guix.texi b/doc/guix.texi > index 3ca105a..00fe5bb 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -2404,6 +2404,17 @@ Which Haskell compiler is used can be specified with > the @code{#:haskell} > parameter which defaults to @code{ghc}. > @end defvr > > +@defvr {Scheme Variable} emacs-build-system > +This variable is exported by @code{(guix build-system haskell)}. It
Typo (haskell → emacs): This variable is exported by @code{(guix build-system emacs)}. It > +implements an installation procedure similar to the one of Emacs own > +packaging system. It first creates the @code{PACKAGE-autoloads.el} > +file, then it byte compiles all Emacs Lisp files. Differently from the > +Emacs packaging system, the @code{info} documentation files are moved to > +the standard documentation direcotry and the @code{dir} file is deleted. Typo (direcotry → directory): the standard documentation directory and the @code{dir} file is deleted. > +Each package is installed in its own directory under > +@code{share/emacs/site-lisp/guix.d}. > +@end defvr > + > Lastly, for packages that do not need anything as sophisticated, a > ``trivial'' build system is provided. It is trivial in the sense that > it provides basically no support: it does not pull any implicit inputs, > diff --git a/guix/build-system/emacs.scm b/guix/build-system/emacs.scm > new file mode 100644 > index 0000000..da2b594 > --- /dev/null > +++ b/guix/build-system/emacs.scm [...] > + #:tests? ,tests? > + #:phases ,phases > + #:outputs %outputs > + #:search-paths ',(map search-path-specification->sexp > + search-paths) > + #:inputs %build-inputs))) > + spaces on this line ^ -- Alex