Re: Problems when trying to install a package via guile API

2014-08-13 Thread Alex Kost
Hello, David Thompson (2014-08-14 06:44 +0400) wrote: > Hello all, > > I'm trying to learn to use the Guix API to install packages so that I > can write a web frontend. However, I'm running into issues when trying > to create a derivation. > > Here's a problematic code snippet: > > (use-modules

Problems when trying to install a package via guile API

2014-08-13 Thread David Thompson
Hello all, I'm trying to learn to use the Guix API to install packages so that I can write a web frontend. However, I'm running into issues when trying to create a derivation. Here's a problematic code snippet: (use-modules (guix derivations) (guix monads) (guix packag

Re: Guix unable to download from github due to TLS fatal alert

2014-08-13 Thread Ludovic Courtès
Mark H Weaver skribis: > Here's what happens: > > $ guix download https://github.com/downloads/magit/magit/magit-1.2.0.tar.gz > starting download of `guix-file.cszPnB' from > `https://github.com/downloads/magit/magit/magit-1.2.0.tar.gz'... > following redirection to > `https://cloud.github.com/

Re: [PATCH] Emacs interface for Guix

2014-08-13 Thread Alex Kost
Ludovic Courtès (2014-08-13 20:03 +0400) wrote: > Alex Kost skribis: > > [...] > >> (I excluded “upgrade” part as it's the same as “install”, and >> ‘show-transaction’ is almost the same as ‘show-what-to-remove/install’ >> from "package.scm".) > > Yes. > > Could you turn the above thing into a pa

Re: Gnunet update

2014-08-13 Thread mhw
Andreas Enge writes: > the attached patch attempts to update gnunet to its current release 0.10.1. > It fails one of its tests; Sree, could you maybe look into it? It would be > nice to be up-to-date before coming to the GHM in gnunet's birth place! gnunet-0.10.0 also started failing on both i68

Guix unable to download from github due to TLS fatal alert

2014-08-13 Thread Mark H Weaver
I forgot to mention an important problem with the 'magit' package. > +(source (origin > + (method url-fetch) > + (uri (string-append > "https://github.com/downloads/magit/magit/magit-"; > + version ".tar.gz")) Guix is currently unable

Re: [PATCHES] Add (guix build emacs-utils) and some Emacs packages

2014-08-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > m...@netris.org skribis: > >> I've attached patches to add new packages for 'magit', 'paredit', >> 'emacs-w3m', and 'emacs-wget'. While working on these packages, I found >> that I needed a way to substitute multi-line s-expressions in the elisp >> code, i

Re: [PATCH] Emacs interface for Guix

2014-08-13 Thread Ludovic Courtès
Alex Kost skribis: > I realized there could be a problem with (PACKAGE OUTPUT) elements. > They should be transformed into manifest entries, but > "guix/scripts/package.scm" uses ‘package->manifest-entry*’ for that, so > this cannot be performed in (guix profiles) module. Perhaps “install” > sho

Re: [PATCHES] Add (guix build emacs-utils) and some Emacs packages

2014-08-13 Thread Ludovic Courtès
m...@netris.org skribis: > I've attached patches to add new packages for 'magit', 'paredit', > 'emacs-w3m', and 'emacs-wget'. While working on these packages, I found > that I needed a way to substitute multi-line s-expressions in the elisp > code, in order to replace initializers for variables.

Re: [PATCH] system: grub: Change the default default-entry to 0

2014-08-13 Thread Ludovic Courtès
m...@netris.org skribis: > From dde9969dcca4d33a2094af3c8909d017378b3e8e Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Fri, 8 Aug 2014 00:50:53 -0400 > Subject: [PATCH] system: grub: Change the default default-entry to 0. > > * gnu/system/grub.scm ()[default-entry]: Change the > defaul

Re: Gnunet update

2014-08-13 Thread Sree Harsha Totakura
On 08/12/2014 08:25 PM, Ludovic Courtès wrote: >> the attached patch attempts to update gnunet to its current release 0.10.1. >> > It fails one of its tests; Sree, could you maybe look into it? It would be >> > nice to be up-to-date before coming to the GHM in gnunet's birth place! > Indeed. :-)