[PATCH 1/2] Move specification->package to gnu/packages.scm.

2014-08-31 Thread Cyril Roelandt
* guix/scripts/build.scm (specification->package): Move from here... * gnu/packages.scm: ... to here. --- gnu/packages.scm | 26 +- guix/scripts/build.scm | 23 +-- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/gnu/packages.scm b

[PATCH 2/2] scripts: add guix lint

2014-08-31 Thread Cyril Roelandt
* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages. * tests/lint.scm: New file. * Makefile.am (MODULES, SCM_TESTS): Add them. * po/guix/Makevars: Update appropriately. * po/guix/POTFILES.in: Update appropriately. * doc/guix.texi: Document "guix lint". --- Makefile.am

Re: [PATCH] profiles: Report about upgrades.

2014-08-31 Thread Jason Self
Ludovic Courtès: > Perhaps even a different format, like, say: > > The following package will be upgraded: > guile 1.8.8 → 2.0.9out /gnu/store/... > > Thoughts? I like that. :)

Re: guix 0.7 installation

2014-08-31 Thread Ludovic Courtès
Federico Beffa skribis: > $ guix package > --install={autoconf,automake,bzip2,gcc-toolchain,gettext,guile,libgcrypt,pkg-config,sqlite} > > and got the packages installed :-) > At the end of the process I've been told to define the following > environment variables: > >export PKG_CONFIG_PATH=

Re: New x86 machine

2014-08-31 Thread Ludovic Courtès
Hi Sergio, Sergio Durigan Junior skribis: > On Friday, August 29 2014, Ludovic Courtès wrote: > >> For that, we’ll need volunteers to help with: >> >> 1. general sysadmin work. > > Hey Ludo :-). > > I can help with this if needed. That would be appreciated! The first thing to do would be to

Re: [PATCH] profiles: Report about upgrades.

2014-08-31 Thread Ludovic Courtès
Alex Kost skribis: > But is it correct to report it like that? I mean if a user has > “guile-1.8.8” and installs “guile-2.0.9” then (with your variant) he > gets: > > The following package will be upgraded: >guile-2.0.9out /gnu/store/... > > I thought it should be: > > The follow

Re: guix-shell?

2014-08-31 Thread Ludovic Courtès
David Thompson skribis: > I think it would be nice to have a default file that guix environment > searches for if none is specified. Tools like Ruby's bundler > automatically use a file called 'Gemfile'. Perhaps guix environment > could look for an 'environment.scm' file by default? Yes, why n

Re: Merging guix.el

2014-08-31 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2014-08-29 00:09 +0400) wrote: [...] > OK, I made "emacs.am" and modified "configure.ac" and "Makefile.am" (I > pushed 2 new commits to “emacs-ui” branch). Is there anything else to > be done in a build part? No, that looks good to me. [...] >>> I think

[PATCH] Add an 'optimiseStore' RPC

2014-08-31 Thread Ludovic Courtès
Hi Eelco, The patch below adds an ‘optimiseStore’ RPC, and thus adds a mandatory ‘optimiseStore’ method in ‘StoreAPI’. OK to commit? Ludo’. diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 09639e7..4404ffc 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/l