[PATCH] gnu: Add vcsh and perl-shell-command

2016-02-13 Thread Christopher Baines
Add vcsh (Version control system for $HOME), and perl-shell-command which is a necessary input for running the tests.

[PATCH 2/3] gnu: Don't use guix build utils

2016-02-13 Thread Christopher Baines
As this provides a which procedure which conflicts with the which package provided by gnu packages base. * gnu/packages/version-control.scm (version-control): Don't use utils --- gnu/packages/version-control.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/gnu/packages/version-control.scm

[PATCH 1/3] gnu: Add perl-shell-command

2016-02-13 Thread Christopher Baines
This is required for the tests for vcsh. * gnu/packages/perl.scm (perl-shell-command): New variable. --- gnu/packages/perl.scm | 24 1 file changed, 24 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 0e63aa9..5146828 100644 ---

[PATCH 3/3] gnu: Add vcsh

2016-02-13 Thread Christopher Baines
* gnu/packages/version-control.scm (vcsh): New variable. --- gnu/packages/version-control.scm | 38 ++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 721a284..fd2056d 100644 ---

Re: [PATCH 3/3] gnu: Add vcsh

2016-02-14 Thread Christopher Baines
On 13/02/16 22:41, Leo Famulari wrote: > On Sat, Feb 13, 2016 at 04:07:55PM +0000, Christopher Baines wrote: >> * gnu/packages/version-control.scm (vcsh): New variable. > > [...] > >> +(arguments >> + `(#:phases (modify-phases %standard-phases >> +

[PATCH 3/3] gnu: Add paprefs

2016-02-17 Thread Christopher Baines
* gnu/packages/pulseaudio.scm (paprefs): New variable --- gnu/packages/pulseaudio.scm | 34 ++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index fe976a9..9e807a8 100644 --- a/gnu/packages/pulseaudio.scm

[PATCH] Add paprefs and dependencies

2016-02-17 Thread Christopher Baines
I have used paprefs on Debian for a while to get network audio setup, I have not got a similar setup working yet on GuixSD, but it seems like a good start would be to get paprefs in to Guix.

[PATCH 1/3] gnu: Add gconfmm.

2016-02-17 Thread Christopher Baines
* gnu/packages/gnome.scm (gconfmm): New variable. --- gnu/packages/gnome.scm | 29 + 1 file changed, 29 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 49e6197..d04bc4a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm

[PATCH 2/3] gnu: Add libglademm

2016-02-17 Thread Christopher Baines
* gnu/packages/gnome.scm (libglademm): New variable. --- gnu/packages/gnome.scm | 27 +++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index d04bc4a..2388e5c 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm

Re: [PATCH 2/3] gnu: Don't use guix build utils

2016-02-17 Thread Christopher Baines
On 13/02/16 22:39, Leo Famulari wrote: > On Sat, Feb 13, 2016 at 04:07:54PM +0000, Christopher Baines wrote: >> As this provides a which procedure which conflicts with the which package >> provided by gnu packages base. >> >> * gnu/packages/version-control.scm (versio

Re: [PATCH 3/3] gnu: Add vcsh

2016-02-17 Thread Christopher Baines
On 17/02/16 18:11, Andreas Enge wrote: > Hello, > > this looks good. I also added a copyright line for you. > > On Sun, Feb 14, 2016 at 08:36:00PM +0000, Christopher Baines wrote: >> + "vcsh provides the @code{vcsh} command, which allows you to maintain > >

Re: [PATCH 3/3] gnu: Add vcsh

2016-02-17 Thread Christopher Baines
On 18/02/16 00:11, Leo Famulari wrote: > On Wed, Feb 17, 2016 at 06:59:08PM +0000, Christopher Baines wrote: >> From a4d10c0c98b4b9b3df05951b9a38d37b8b1da6d3 Mon Sep 17 00:00:00 2001 >> From: Christopher Baines <m...@cbaines.net> >> Date: Sat, 13 Feb 2016 23:49:25 +0

Re: [PATCH 2/3] gnu: Don't use guix build utils

2016-02-18 Thread Christopher Baines
it looks good, could > you please push it? Otherwise, Christopher, could you resend it? You can find it here [1], I have also attached it to this email. 1: https://lists.gnu.org/archive/html/guix-devel/2016-02/msg00524.html From cf1f343ab00a5ee31cfb650ec0033023cb0d0e02 Mon Sep 17 00:00:00 2001 From:

Re: [PATCH 3/3] gnu: Add vcsh

2016-02-18 Thread Christopher Baines
On 18/02/16 20:01, Andreas Enge wrote: > On Wed, Feb 17, 2016 at 07:11:44PM -0500, Leo Famulari wrote: >> I missed this earlier. We don't usually propagate this sort of "end-user >> program" dependencies. For example rsync does not propagate ssh; the >> user must install ssh. [0] > > I think the

Re: [PATCH 2/3] gnu: Don't use guix build utils

2016-02-18 Thread Christopher Baines
On 18/02/16 20:16, Andreas Enge wrote: > On Thu, Feb 18, 2016 at 07:59:14PM +0000, Christopher Baines wrote: >> You can find it here [1], I have also attached it to this email. > > Okay, thanks. I have added a "." to the tag line of the commit message > and dropped the

[PATCH 1/2] gnu: Add python-mpd2

2016-02-18 Thread Christopher Baines
* gnu/packages/python.scm (python-mpd2): New variable * gnu/packages/python.scm Import lgpl3. --- gnu/packages/python.scm | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index

[PATCH] Add sonata and python-mpd2

2016-02-18 Thread Christopher Baines
A couple of patches to package sonata (a music player daemon (mpd) client using GTK3 and python). python-mpd2 was the only missing dependency. [PATCH 1/2] gnu: Add python-mpd2 [PATCH 2/2] gnu: Add sonata

[PATCH 2/2] gnu: Add sonata

2016-02-18 Thread Christopher Baines
* gnu/packages/mpd.scm (sonata): New variable. --- gnu/packages/mpd.scm | 30 ++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index b5a0d94..2696f21 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -27,8

Re: [PATCH 3/3] gnu: Add vcsh

2016-02-18 Thread Christopher Baines
On 18/02/16 21:26, Leo Famulari wrote: > On Thu, Feb 18, 2016 at 09:01:00PM +0100, Andreas Enge wrote: >> On Wed, Feb 17, 2016 at 07:11:44PM -0500, Leo Famulari wrote: >>> I missed this earlier. We don't usually propagate this sort of "end-user >>> program" dependencies. For example rsync does not

Re: [PATCH 1/2] gnu: Add python-mpd2

2016-02-18 Thread Christopher Baines
On 18/02/16 22:00, Leo Famulari wrote: > On Thu, Feb 18, 2016 at 09:26:53PM +0000, Christopher Baines wrote: >> * gnu/packages/python.scm (python-mpd2): New variable >> * gnu/packages/python.scm Import lgpl3. > > I actually have a patch for this in a WIP t

Making local development easy

2016-05-24 Thread Christopher Baines
Today I had a go at writing a dummy python library, and packaging it, and then installing it within an environment, with the aim of experimenting more with how Guix works, and to explore how Guix can be used as a developer (with unpublished local packages). There were several slight issues with

Re: Making local development easy

2016-05-25 Thread Christopher Baines
On 25/05/16 10:23, Alex Sassmannshausen wrote: >> The first, is that the hash is required, which I only had to compute >> once, but if I wanted to change the package, I would have to update >> this, which is prohibitive to local development. As an improvement to >> this, could the hash be

Re: Making local development easy

2016-05-25 Thread Christopher Baines
On 25/05/16 11:29, Ricardo Wurmus wrote: > Christopher Baines <m...@cbaines.net> writes: >> The second issue was getting the data to the store, as first I tried a >> relative path, but that did not work, and ended up having to expose the >> repository using a HTTP

Re: Go build system

2016-07-26 Thread Christopher Baines
On 25/07/16 20:50, Leo Famulari wrote: > I don't fully understand Debian's packaging, but it seems that they only > use external packages to provide 2 of 39 dependencies, bootstrap and > font-awesome: > https://anonscm.debian.org/git/pkg-go/packages/syncthing.git/tree/debian/rules#n42 Just in

[PATCH] scripts: container: Pass through TERM when calling exec

2017-01-24 Thread Christopher Baines
* guix/scripts/container/exec.scm (guix-container-exec): Capture the value of the TERM environment variable, and pass it through to the container. This means some applications now work where they did not before (e.g. htop), and others have more functionality, providing that the terminal was

[PATCH] environment: Fix setting writable? on networking related files

2017-01-26 Thread Christopher Baines
* guix/scripts/environment.scm (launch-environment/container): Include the file name in the call to string=? when deciding if the file should be writable. --- guix/scripts/environment.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/scripts/environment.scm

Building around Guix, some observations

2017-01-29 Thread Christopher Baines
Hello Guix, Over the last few months, I've been experimenting with setting up packages, services and systems around the software used by GOV.UK. This is not really related to Guix development, but I'd be very interested if anyone has any feedback about the approach I've taken so far, and if

[PATCH 1/2] gnu: services: web: Add support for NGinx upstream module

2017-01-18 Thread Christopher Baines
* gnu/services/web.scm (): New record type. (): Add new field upstream-blocks. (nginx-upstream): New function. (default-nginx-config): Add upstream-list parameter. (nginx-service): Add optional upstream list keyword argument. * doc/guix.text (Web Services): Document the new

[PATCH 2/2] gnu: services: web: Add support for NGinx location blocks

2017-01-18 Thread Christopher Baines
* gnu/services/web.scm (): Add field locations. (): New record type. (): New record type. (nginx-location-config): New function. (default-nginx-server-config): Inlcude locations. * doc/guix.text (Web Services): Document the new nginx-location-configuration and nginx-named-location-configuration

[PATCH 1/2] gnu: dnsmasq: Enable dbus support

2017-01-18 Thread Christopher Baines
* gnu/pacakges/dns.scm (dnsmasq): Enable dbus support to allow for NetworkManager to use dnsmasq. [native-inputs]: Add pkg-config. [inputs]: Add dbus. [arguments]: Add COPTS="-DHAVE_DBUS" to make-flags. --- gnu/packages/dns.scm | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff

[PATCH 2/2] services: network-manager: Use record for configuration.

2017-01-18 Thread Christopher Baines
* gnu/services/network-manager.scm (): New record type. (network-manager-shpeherd-service): Change to use the network-manager-configuration record, rather than a package. Generate a simple configuration file from the network-manager-configuration record. (network-manager-service-type): Update

[PATCH] gnu: Add emacs-ag

2017-01-17 Thread Christopher Baines
* gnu/packages/emacs.scm (emacs-ag): New variable. --- gnu/packages/emacs.scm | 39 +++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 50cea7685..45337097b 100644 --- a/gnu/packages/emacs.scm +++

[PATCH] gnu: Add emacs-ag

2017-01-17 Thread Christopher Baines
* gnu/packages/emacs.scm (emacs-ag): New variable. --- gnu/packages/emacs.scm | 38 ++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 50cea7685..62b8dcc46 100644 --- a/gnu/packages/emacs.scm +++

Re: [PATCH] gnu: Add emacs-ag

2017-01-17 Thread Christopher Baines
ng0 <n...@libertad.pw> writes: > Hartmut Goebel <h.goe...@crazy-compilers.com> writes: > >> Am 15.01.2017 um 17:13 schrieb ng0: >>>> Am 15.01.2017 um 12:25 schrieb Christopher Baines: >>>>> the silver searcher >>>> Please expla

Re: [PATCH] gnu: Add emacs-ag

2017-01-17 Thread Christopher Baines
Alex Kost <alez...@gmail.com> writes: > Christopher Baines (2017-01-15 11:25 +) wrote: > >> * gnu/packages/emacs.scm (emacs-ag): New variable. >> --- >> gnu/packages/emacs.scm | 27 +++ >> 1 file changed, 27 insertions(+) >>

[PATCH] gnu: services: New exported procedures

2017-01-15 Thread Christopher Baines
* gnu/services.scm: Export service-extension-target and service-extension-compute. This allows for greater extensiblity of services by enabling service extensions to be wrapped. For example, the parameters passed to the compute function can be modified, or the return value of the compute

Re: [PATCH 1/2] gnu: services: web: Add support for NGinx upstream module

2017-01-19 Thread Christopher Baines
On 19/01/17 13:08, Ludovic Courtès wrote: > Christopher Baines <m...@cbaines.net> skribis: > >> * gnu/services/web.scm (): New record type. >> (): Add new field upstream-blocks. >> (nginx-upstream): New function. >> (default-nginx-config): Add upstream-lis

Re: [PATCH 2/2] services: network-manager: Use record for configuration.

2017-01-20 Thread Christopher Baines
宋文武 <iyzs...@member.fsf.org> writes: > Christopher Baines <m...@cbaines.net> writes: > >> * gnu/services/network-manager.scm (): New >> record type. >> (network-manager-shpeherd-service): Change to use the >> network-manager-configuration record, ra

[PATCH] services: network-manager: Use record for configuration.

2017-01-20 Thread Christopher Baines
* gnu/services/network-manager.scm (): New record type. (network-manager-shpeherd-service): Change to use the network-manager-configuration record, rather than a package. Generate a simple configuration file from the network-manager-configuration record. (network-manager-service-type): Update

Prototype for using Guix with python packages

2016-09-06 Thread Christopher Baines
For a few months now, I've been assembling a prototype for how packages could be produced for software released as Python source distributions (sdists) [1]. I wanted to build something that was as useful as any similar tool. The functionality offered by pip [2] was something I looked at, as

Re: Prototype for using Guix with python packages

2016-09-11 Thread Christopher Baines
On 11/09/16 14:43, Ludovic Courtès wrote: >> The main reason why I didn't just improve the importer is that I was >> looking for a way to collaborate around getting multiple versions of >> python packages building and working, and as far as I am aware, Guix >> only contains multiple versions of

Re: [PATCH] gnu: Add sonata

2016-09-11 Thread Christopher Baines
On 11/09/16 18:01, Alex Kost wrote: Christopher Baines (2016-09-11 11:00 +0100) wrote: * gnu/packages/mpd.scm (sonata): New variable. --- gnu/packages/mpd.scm | 53 1 file changed, 53 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu

Re: Prototype for using Guix with python packages

2016-09-10 Thread Christopher Baines
On 07/09/16 15:01, Ludovic Courtès wrote: >> For a few months now, I've been assembling a prototype for how packages >> could be produced for software released as Python source distributions >> (sdists) [1]. > > Woow, quite an achievement! Do you know how many of the automatically > generated

[PATCH] gnu: Add sonata

2016-09-10 Thread Christopher Baines
* gnu/packages/mpd.scm (sonata): New variable. --- gnu/packages/mpd.scm | 52 1 file changed, 52 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 279ec68..cc9d583 100644 --- a/gnu/packages/mpd.scm +++

[PATCH] gnu: Add direnv

2016-09-10 Thread Christopher Baines
* gnu/packages/shellutils.scm (direnv): New variable. --- gnu/packages/shellutils.scm | 33 + 1 file changed, 33 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 27f45ba..e582186 100644 --- a/gnu/packages/shellutils.scm

[PATCH] gnu: Add direnv

2016-09-10 Thread Christopher Baines
direnv is an environment switcher for the shell. direnv can be used with many tools, including Guix environments. I was lucky enough to meet the original author in London, who showed me direnv, and helped me write a function for my .direnvrc file to make it easy to use with Guix. I have the

[PATCH] gnu: Add sonata

2016-09-11 Thread Christopher Baines
* gnu/packages/mpd.scm (sonata): New variable. --- gnu/packages/mpd.scm | 53 1 file changed, 53 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 279ec68..8b1b071 100644 --- a/gnu/packages/mpd.scm +++

[PATCH] gnu: Add sonata

2016-09-11 Thread Christopher Baines
Yep, obviously didn't re-read the previous feedback thoroughly enough. gettext is indeed only used at build time. I've attached an updated patch (with just that change).

[PATCH] gnu: Add emacs-es-mode

2016-09-13 Thread Christopher Baines
* gnu/packages/emacs.scm (emacs-es-mode): New variable. --- gnu/packages/emacs.scm | 29 + 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 3221949..9815d65 100644 --- a/gnu/packages/emacs.scm +++

Re: [PATCH] gnu: Add emacs-es-mode

2016-09-15 Thread Christopher Baines
On 14/09/16 15:37, Ludovic Courtès wrote: > Christopher Baines <m...@cbaines.net> skribis: > >> * gnu/packages/emacs.scm (emacs-es-mode): New variable. > > I made minor changes: > >> +(inputs `(("guile" ,guile-2.0))) > > I removed it since i

Re: [PATCH] gnu: mail: Add notifymuch.

2016-10-12 Thread Christopher Baines
On 10/10/16 08:40, Hartmut Goebel wrote: Am 09.10.2016 um 23:33 schrieb Christopher Baines: +(description "notifymuch displays desktop notifications for messages in +the notmuch database. The notifications are sent using libnotify to a May I ask you to ass some words about what no

[PATCH] Add pinentry-gnome3

2016-10-09 Thread Christopher Baines
This adds pinentry-gnome3, which provides a better pinentry for those using Gnome 3. Also, this updates the descriptions for some pinentry packages, and adds it to the propagated-inputs of the gnome package. [PATCH 1/3] gnu: gnupg: Remove gpg2 from pinentry description [PATCH 2/3] gnu: Add

[PATCH 2/3] gnu: Add pinentry-gnome3.

2016-10-09 Thread Christopher Baines
* gnu/packages/gnupg.scm (pinentry-gnome3): New variable. --- gnu/packages/gnupg.scm | 16 1 file changed, 16 insertions(+) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index b4b4f75..b80e39b 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@

[PATCH 3/3] gnu: gnome: Add pinentry-gnome3 to gnome

2016-10-09 Thread Christopher Baines
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Add pinentry-gnome3. --- gnu/packages/gnome.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e33f744..2b75781 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@

[PATCH 1/3] gnu: gnupg: Remove gpg2 from pinentry description

2016-10-09 Thread Christopher Baines
* gnu/package/gnupg.scm (pinentry-tty, pinentry-gtk2, pinentry-qt) [description]: The default in Guix is gpg, so only use this. --- gnu/packages/gnupg.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index

[PATCH] gnu: mail: Add notifymuch.

2016-10-10 Thread Christopher Baines
Thanks for your review. The version (0.1) is specified in the setup.py file, but your right in saying that there is no "real" 0.1 version release. I've also removed inputs from the wrap-binary stage.

[PATCH] gnu: mail: Add notifymuch.

2016-10-10 Thread Christopher Baines
* gnu/packages/mail.scm (notifymuch): New variable. --- gnu/packages/mail.scm | 50 ++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index baa5a96..02dd72a 100644 --- a/gnu/packages/mail.scm +++

Re: [PATCH] gnu: mail: Add notifymuch.

2016-10-16 Thread Christopher Baines
On 14/10/16 10:30, Hartmut Goebel wrote: > Am 13.10.2016 um 22:10 schrieb Ludovic Courtès: >> Hartmut, since the rest of the patch looked non controversial, and if >> ‘guix lint’ doesn’t complain, you can push to ‘master’ with the synopsis >> above. > > Done with minor adjustments. >

[PATCH] gnu: services: Activate system prior to services

2016-12-10 Thread Christopher Baines
This patch fixes some issues I've had with the postgresql service and database locales. If system activation takes place before service activation, the locales are present and PostgreSQL can use them, but otherwise the PostgreSQL service is limited in the locales that can be used.

[PATCH] gnu: services: Activate system prior to services

2016-12-10 Thread Christopher Baines
* gnu/services.scm: Activate the current system prior to the services, as this allows the services to use the files from the system, for example locales, in the service activation process. --- gnu/services.scm | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 2/2] gnu: password-store: Don't run tests in parallel

2016-12-10 Thread Christopher Baines
* gnu/packages/password-utils.scm (password-store): Don't run tests in parallel, as it causes them to hang and the build to timeout. --- gnu/packages/password-utils.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index

[PATCH 1/2] gnu: password-store: Delete build phase

2016-12-10 Thread Christopher Baines
* gnu/packages/password-utils.scm (password-store): Remove the build phase, as it is unused. --- gnu/packages/password-utils.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index cf030ec..bdb3acf 100644 ---

Re: [PATCH] gnu: services: Activate system prior to services

2016-12-11 Thread Christopher Baines
On 11/12/16 09:01, Ludovic Courtès wrote: Christopher Baines <m...@cbaines.net> skribis: This patch fixes some issues I've had with the postgresql service and database locales. If system activation takes place before service activation, the locales are present and PostgreSQL can us

Re: [PATCH 2/2] services: postgresql: Add locale to configuration

2016-12-11 Thread Christopher Baines
On 11/12/16 23:14, Ludovic Courtès wrote: Hi! Christopher Baines <m...@cbaines.net> skribis: * gnu/services/postgresql.scm (): Add locale field. (postgresql-shepherd-service): Pass locale to initdb. (postgresql-service): Add locale default. [...] + (locale post

[PATCH 2/2] services: postgresql: Add locale to configuration

2016-12-14 Thread Christopher Baines
* gnu/services/databases.scm (): Add locale field. (postgresql-shepherd-service): Pass locale to initdb. (postgresql-service): Add locale default. --- doc/guix.texi | 8 gnu/services/databases.scm | 22 ++ 2 files changed, 22 insertions(+), 8

[PATCH 1/2] services: postgresql: Add port to configuration

2016-12-14 Thread Christopher Baines
* gnu/services/databases.scm (): Add port field. (postgresql-shepherd-service): Pass port to postgres. (postgresql-service): Add port default. --- doc/guix.texi | 7 --- gnu/services/databases.scm | 9 +++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git

[PATCH 1/2] services: postgresql: Add port to configuration

2016-12-11 Thread Christopher Baines
* gnu/services/postgresql.scm (): Add port field. (postgresql-shepherd-service): Pass port to postgres. (postgresql-service): Add port default. --- gnu/services/databases.scm | 36 +--- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git

[PATCH 2/2] services: postgresql: Add locale to configuration

2016-12-11 Thread Christopher Baines
* gnu/services/postgresql.scm (): Add locale field. (postgresql-shepherd-service): Pass locale to initdb. (postgresql-service): Add locale default. --- gnu/services/databases.scm | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git

[PATCH] services: mysql: Add port to configuration

2016-12-11 Thread Christopher Baines
* gnu/services/databases.scm (): Add port field. (mysql-configuration-file): Use the port field when creating the configuration file. --- gnu/services/databases.scm | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/services/databases.scm

[PATCH] gnu: direnv: Update to 2.10.0.

2016-12-11 Thread Christopher Baines
* gnu/packages/shellutils.scm (direnv): Update to 2.10.0. --- gnu/packages/shellutils.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 894ec7804..d83219470 100644 --- a/gnu/packages/shellutils.scm +++

[PATCH] gnu: services: Add redis-service

2017-01-09 Thread Christopher Baines
* gnu/services/database.scm (): New record type. (%redis-accounts, redis-service-type): New variables. (default-redis.conf, redis-activation, redis-shepherd-service): New procedures. * doc/guix.texi (Database Services): Document the new redis service. --- doc/guix.texi | 24

Re: FOSDEM social dinner

2017-01-06 Thread Christopher Baines
On 06/01/17 09:46, Alex Sassmannshausen wrote: > Whilst organising it, we had the idea that it would be fun to have a > Guile/Guix user & dev dinner on the Saturday evening. I'm hereby > officially opening registration for that :-D > > I have not chosen a restaurant yet, but it will be something

[PATCH] gnu: Add emacs-git-gutter

2016-12-30 Thread Christopher Baines
* gnu/packages/emacs.scm (emacs-git-gutter): New variable. --- gnu/packages/emacs.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 5b6b9900a..f062a7557 100644 --- a/gnu/packages/emacs.scm +++

[PATCH 3/4] gnu: gnome-tweak-tool: Make propagated-inputs just inputs

2016-12-30 Thread Christopher Baines
* gnu/packages/gnome.scm (gnome-tweak-tool): Just use inputs, as these are now referenced by the package. --- gnu/packages/gnome.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 12a30d12d..a76ec2f4e 100644 ---

[PATCH 4/4] gnu: gnome-tweak-tool: Add missing inputs

2016-12-30 Thread Christopher Baines
* gnu/packages/gnome.scm (gnome-tweak-tool)[inputs]: Add gnome-desktop and libsoup. --- gnu/packages/gnome.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a76ec2f4e..3bed2768d 100644 --- a/gnu/packages/gnome.scm +++

Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system

2016-12-30 Thread Christopher Baines
On 29/12/16 18:05, Ludovic Courtès wrote: > Hi! > > Christopher Baines <m...@cbaines.net> skribis: > >> * gnu/packages/gnome.scm (gnome-tweak-tool): Switch from the gnu build >> system to the glib-or-gtk build system, to fix missing gobject >> introspection

[PATCH 2/4] gnu: gnome-tweak-tool: Include GI_TYPELIB_PATH

2016-12-30 Thread Christopher Baines
* gnu/packages/gnome.scm (gnome-tweak-tool): Add another wrap phase to include GI_TYPELIB_PATH. --- gnu/packages/gnome.scm | 8 1 file changed, 8 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 5f13cdd0e..12a30d12d 100644 --- a/gnu/packages/gnome.scm +++

[PATCH 1/4] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system

2016-12-30 Thread Christopher Baines
* gnu/packages/gnome.scm (gnome-tweak-tool): Switch from the gnu build system to the glib-or-gtk build system, to fix missing gobject introspection namespaces. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm

[PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system

2016-12-27 Thread Christopher Baines
* gnu/packages/gnome.scm (gnome-tweak-tool): Switch from the gnu build system to the glib-or-gtk build system, to fix missing gobject introspection namespaces. --- gnu/packages/gnome.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm

[PATCH 1/2] gnu: services: web: Add support for NGinx upstream module

2017-01-14 Thread Christopher Baines
* gnu/services/web.scm (): New record type. (): Add new field upstream-blocks. (nginx-upstream): New function. (default-nginx-config): Add upstream-list parameter. (nginx-service): Add optional upstream list keyword argument. * doc/guix.text (Web Services): Document the new

[PATCH 2/2] gnu: services: web: Add support for NGinx location blocks

2017-01-14 Thread Christopher Baines
* gnu/services/web.scm (): Add field locations. (): New record type. (): New record type. (nginx-location-config): New function. (default-nginx-server-config): Inlcude locations. * doc/guix.text (Web Services): Document the new nginx-location-configuration and nginx-named-location-configuration

[PATCH] guix: profiles: Export ca-certificate-bundle

2017-01-15 Thread Christopher Baines
* guix/profiles.scm: Export ca-certificate-bundle, such that it can be used in other G-expressions. This is useful where these G-expressions run programs that require a ca-certificate-bundle, e.g. git. --- guix/profiles.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/profiles.scm

Extending the mysql configuration

2017-04-19 Thread Christopher Baines
Hey, Does anyone have any advice about making the mysql service configuration more flexible? At the moment, its not even possible to use a custom configuration file without modifying the Guix source code. My initial thoughts revolved around at some level providing access to a data structure

Re: Using scheme-memcached with Guile

2017-07-29 Thread Christopher Baines
On Fri, 28 Jul 2017 23:29:56 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Hi, > > Christopher Baines <m...@cbaines.net> skribis: > > > I noticed recently that there is a scheme client for Memcached [1], > > I was looking at how this can be used with Guile, with

Re: [PATCH] git-download: Speed up 'git-predicate'.

2017-07-16 Thread Christopher Baines
On Wed, 21 Jun 2017 23:44:26 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Hello, > > Christopher Baines <m...@cbaines.net> skribis: > > > +(define (create-directory-tree files) > > + (define (directory-lists->tree directory-lists) > > +(map (lambd

Re: [PATCH] git-download: Speed up 'git-predicate'.

2017-07-26 Thread Christopher Baines
On Tue, 25 Jul 2017 23:26:15 +0200 l...@gnu.org (Ludovic Courtès) wrote: > Hi! > > Christopher Baines <m...@cbaines.net> skribis: > > > I've had a little look at the performance, and I think this > > approach of using a vhash might be slower, but not by much. Th

Re: Stickers!

2017-07-22 Thread Christopher Baines
On Sun, 30 Apr 2017 23:25:20 +0100 Christopher Baines <m...@cbaines.net> wrote: > Hey, > > In summary, guix-artwork needs more stickers, and once there are some > designs, maybe I can organise getting them printed. > > So before FOSDEM (2017) I planned to make some

Re: 'core-updates' status

2017-08-19 Thread Christopher Baines
On Fri, 18 Aug 2017 23:24:29 +0200 Marius Bakke wrote: > 'core-updates' has finished building on x86_64 and i686. There are a > few failing packages still, but nothing too scary. Please try to fix > some if you can! > >

Re: [PATCH] gnu: Add mongodb.

2017-08-23 Thread Christopher Baines
On Thu, 17 Mar 2016 16:08:24 +0100 Roel Janssen wrote: > Dear Guix, > > This is a patch to add MongoDB (server and client) tools. I used a > three-line patch to fix the build process's reliance on Git and the > .git/ directory. Hey, I've now created bug #28198 with a slightly

Subdirectories in GUIX_PACKAGE_PATH

2017-06-23 Thread Christopher Baines
lob/master/guix-pre-inst-env From eb859e7866e38b8fb19b1aa14ccd85c5375feff0 Mon Sep 17 00:00:00 2001 From: Christopher Baines <m...@cbaines.net> Date: Fri, 23 Jun 2017 20:53:10 +0100 Subject: [PATCH] gnu: packages: Support subdirectories in GUIX_PACKAGE_PATH * gnu/packages.scm (%package-mod

Re: Xorg tearing fix on Intel HD Graphics 4000

2017-06-23 Thread Christopher Baines
On Wed, 21 Jun 2017 09:55:46 +0200 Roel Janssen wrote: > For a long time now, I have a tearing issue on GuixSD (parts of the > screen do not get updated while others do, resulting in dissapearing > text in Emacs). > > With the following patch to the Xorg configuration file, I have

Re: Subdirectories in GUIX_PACKAGE_PATH

2017-06-26 Thread Christopher Baines
On 26/06/17 12:22, Ricardo Wurmus wrote: > > Christopher Baines <m...@cbaines.net> writes: > >> Recently I had problems with the way GUIX_PACKAGE_PATH was working with >> govuk-guix [1]. Currently, I'm using a separate directory for the >> GUIX_PACKAGE_PATH t

Combining Guix, direnv and Emacs for environment customisation

2017-05-27 Thread Christopher Baines
Hey, In summary, using direnv provides a convinient way to manage different environments created from Guix. There is now support for using direnv directly from Emacs. So for a while now I've been using direnv and Guix, but thanks to recent improvements with the Emacs integration, its now become

[PATCH] git-download: Fix 'git-predicate' to use absolute paths.

2017-05-25 Thread Christopher Baines
git ls-files will return paths relative to the repository directory. This commit prepends the repository directory to those paths when calling lstat, such that 'git-predicate' works if the current working directory is not the repository directory. * guix/git-download.scm (git-predicate): Prepend

[PATCH] doc: Move the NGinx service configuration documentation together.

2017-05-30 Thread Christopher Baines
* doc/guix.texi (Web Services): Add documentation for nginx-upstream-configuration and nginx-location-configuration. (VPN Services): Remove documentation for nginx-upstream-configuration and nginx-location-configuration. --- doc/guix.texi | 115

[PATCH] git-download: Speed up 'git-predicate'.

2017-06-02 Thread Christopher Baines
Adjust 'git-predicate' to use data structures that perform better when used with git repositories with a large number of files. Previously when matching either a regular file or directory, 'git-predicate' would search a list with a length equal to the number of files in the repository. As a

Re: [PATCH] git-download: Speed up 'git-predicate'.

2017-06-02 Thread Christopher Baines
To provide some anecdotal evidence on the difference this makes, I wrote a little test script [1]. It should roughly follow how git-predicate is used with the local-file gexp. Running the current implementation of git-predicate on the guix repository with 50 trials takes: real0m5.374s

Re: [PATCH] git-download: Speed up 'git-predicate'.

2017-06-07 Thread Christopher Baines
On 07/06/17 13:40, Ludovic Courtès wrote: > Hi Christopher, > > Christopher Baines <m...@cbaines.net> skribis: > >> Running the current implementation of git-predicate on the guix >> repository with 50 trials takes: >> >> real0m5.374s &

Re: [PATCH] git-download: Speed up 'git-predicate'.

2017-06-08 Thread Christopher Baines
On 07/06/17 13:52, Ludovic Courtès wrote: > Christopher Baines <m...@cbaines.net> skribis: > >> Adjust 'git-predicate' to use data structures that perform better when used >> with git repositories with a large number of files. >> >> Previously when matchin

[PATCH] gnu: gnome: Add deja-dup.

2017-06-05 Thread Christopher Baines
* gnu/packages/gnome.scm (deja-dup): New variable. --- gnu/packages/gnome.scm | 79 ++ 1 file changed, 79 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index c1c73f0f7..ab2735686 100644 --- a/gnu/packages/gnome.scm +++

  1   2   3   4   5   6   7   8   >