New x86 machine

2014-08-28 Thread Jason Self
Hello, There's a new x86-64 machine on the block (soon to be) building things. Guix has been installed on it and hopefully its fast CPU, 16GB of RAM and 2TB of storage will be pressed into service soon to help with the upcoming giant rebuilds. signature.asc Description: PGP signature

Re: Merging guix.el

2014-08-28 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-08-28 16:41 +0400) wrote: > >> Alex Kost skribis: >> >>> Ludovic Courtès (2014-08-23 16:17 +0400) wrote: [...] > OK, I think it would be good to make "emacs-ui" branch temporary, so > that after I'll fix everything that needs to be fixed, it may be >

Re: guix.el vs. Emacs packages

2014-08-28 Thread Ludovic Courtès
Alex Kost skribis: > After a user's "~/.emacs" (or "~/.emacs.d/init.el") is loaded, Emacs > calls ‘package-initialize’ function (if ‘package-enable-at-startup’ is > non-nil), which does the job: it cycles through all subdirs (for the > newest packages, as there may be several versions installed)

Re: Merging guix.el

2014-08-28 Thread Alex Kost
Ludovic Courtès (2014-08-28 16:41 +0400) wrote: > Alex Kost skribis: > >> Ludovic Courtès (2014-08-23 16:17 +0400) wrote: > > [...] > >>> • Have them appropriately listed in the top-level Makefile.am (I can >>> help with that, if you’re not familiar.) >> >> Along with the small changes to t

Re: guix-shell?

2014-08-28 Thread Ludovic Courtès
David Thompson skribis: > Okay, so after digging into nix's source code a bit, I've learned a few > things. nix-shell is really just a symlink to nix-build, and it doesn't > seem to use profiles at all! When nix-build is called as 'nix-shell', > it's behavior changes. From the manual: "The com

Re: guix-shell?

2014-08-28 Thread Ludovic Courtès
David Thompson skribis: > Hmm, I thought that this was a perfect use-case for profiles. I haven't > read the source to nix-shell yet, but I inferred that it essentially did > the following: > > 1) Create profile in project directory > 2) Install dependencies > 3) Run the desired shell > 4) Prepe

Re: [PATCH] utils: Preserve makefile shell arguments during patch.

2014-08-28 Thread Ludovic Courtès
Eric Bavier skribis: > Ludovic Courtès writes: > >>>(let* ((old (string-append dir shell)) >>> (new (or (find-shell shell) old))) >>> (unless (string=? new old) >>>(format (current-error-port) >>>"patch-makefile-SHELL: ~a: changing `S

Re: [PATCH 1/2] gnu: Add bison-2.7

2014-08-28 Thread Ludovic Courtès
Andreas Enge skribis: > Looks good to me! Ditto! (No need to wait for me.) Ludo’.

Re: [PATCH] utils: Preserve makefile shell arguments during patch.

2014-08-28 Thread Eric Bavier
Ludovic Courtès writes: >>(let* ((old (string-append dir shell)) >> (new (or (find-shell shell) old))) >> (unless (string=? new old) >>(format (current-error-port) >>"patch-makefile-SHELL: ~a: changing `SHELL' from `~a' to >> `~a'~%"

Re: guix.el vs. Emacs packages

2014-08-28 Thread Alex Kost
Ludovic Courtès (2014-08-28 15:51 +0400) wrote: > Alex Kost skribis: > > [...] > >> So for the real “drop-in replacement”, the following should be done >> (IMHO): Guix recipes for emacs packages should be modified to >> additionally generate "...-autoloads.el" (like it is done by >> “package.el”:

Re: Merging guix.el

2014-08-28 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-08-23 16:17 +0400) wrote: [...] >> • Have them appropriately listed in the top-level Makefile.am (I can >> help with that, if you’re not familiar.) > > Along with the small changes to top-level "Makefile.am", I made > "Makefile.am" in "emacs" dir

Re: guix-shell?

2014-08-28 Thread Amirouche Boubekki
2014-08-26 22:31 GMT+02:00 David Thompson : > Andreas Enge writes: > > > Hello, > > > > could you maybe provide a specification of what guix-shell is supposed > to do? > > Not knowing nix-shell, I admit to being somewhat lost as to which problem > > you are trying to solve. > > > > Andreas > > >

Re: guix.el vs. Emacs packages

2014-08-28 Thread Ludovic Courtès
Alex Kost skribis: > If by “offer to load” you mean to load/require the whole package, this > is not what “package.el” does. (I think you know the following but just > to clarify things): during installing a package, “package.el” generates > "...-autoloads.el" (it usually contains the main inter

Re: [PATCH] utils: Preserve makefile shell arguments during patch.

2014-08-28 Thread Ludovic Courtès
Eric Bavier skribis: > While working with some Imake-based packages recently, I found that > patch-makefile-SHELL did not like when the SHELL definition contained > arguments. For example, one package would define:: > > SHELL = /bin/sh -e > > And patch-makefile-SHELL would turn that into:: > >

Re: guix.el vs. Emacs packages

2014-08-28 Thread Alex Kost
Hello, Ludovic Courtès (2014-08-27 13:12 +0400) wrote: > Hi! > > It would be really cool if, once a package with a share/emacs/site-lisp > sub-directory has been installed, guix.el would offer to load it, just > like package.el does. (That would pretty much make guix.el a drop-in > replacement,