HTTP and FTP proxies for guix package / guix-daemon

2015-06-08 Thread
When running guix in a VM I usually run into various connectivity problems. VirtualBox on Windows seems to do some helpful FTP transparent proxying which breaks everything and in another case I don't have internet connectivity due to how the VM is set up. Is there a way to make guix-daemon talk to

Re: HTTP and FTP proxies for guix package / guix-daemon

2015-06-09 Thread
On Tue, Jun 9, 2015 at 12:03 AM, Claes Wallin (韋嘉誠) wrote: > Is there a way to make guix-daemon talk to a proxy when downloading > substitutions and source archives? > > I tried starting it with http_proxy set, but I'm not sure it responded > to it (as I'm writing

Re: HTTP and FTP proxies for guix package / guix-daemon

2015-06-09 Thread
On Tue, Jun 9, 2015 at 3:11 AM, Claes Wallin (韋嘉誠) wrote: > On Tue, Jun 9, 2015 at 12:03 AM, Claes Wallin (韋嘉誠) > wrote: > >> Is there a way to make guix-daemon talk to a proxy when downloading >> substitutions and source archives? >> >> I tried starting it with

Re: guix environment

2015-06-15 Thread
On 15-Jun-2015 8:56 am, "Pjotr Prins" wrote: > > Is there a way guix could quickly print out the information it now gives after > a successful package install: > > The following environment variable definitions may be needed: >export PATH="/home/pjotrp/.guix-profile/bin:/home/pjotrp/.guix-prof

Re: guix environment

2015-06-15 Thread
On Jun 15, 2015 10:11 PM, "Ludovic Courtès" wrote: > "Claes Wallin (韋嘉誠)" skribis: > > > Some of this is already in ~/.guix-profile/etc/profile. Maybe there should > > be more in there? Or are even all of the search paths in there? > >

Re: guix edit

2015-06-17 Thread
On Jun 16, 2015 10:27 PM, "Ludovic Courtès" wrote: > > While looking at another package manager for ideas to steal, I found > this one to be a good candidate: > > guix edit gcc-4.8 Looks familiar. OSX Homebrew? Anyway, it's an awesome idea and deserves being stolen. > For “regular users,” it’s

[PATCH] gnu/package/pv.scm (pv): New file, new variable

2015-06-19 Thread
>From 7df5b2d6c71d7de70e4af59f1944c87c0b0ce807 Mon Sep 17 00:00:00 2001 From: Claes Wallin Date: Fri, 19 Jun 2015 20:12:09 +0200 Subject: [PATCH] gnu/package/pv.scm (pv): New file, new variable Signed-off-by: Claes Wallin --- gnu/packages/pv.scm | 51

Re: [PATCH] gnu/package/pv.scm (pv): New file, new variable

2015-06-19 Thread
Argh. Why is there always some small detail you don't notice until you posted, even in a small file like this? Removed commented-out lines. 0001-gnu-package-pv.scm-pv-New-file-new-variable.patch Description: Binary data

Re: [PATCH] gnu/package/pv.scm (pv): New file, new variable

2015-06-22 Thread
On Fri, Jun 19, 2015 at 8:51 PM, Claes Wallin (韋嘉誠) wrote: > Argh. Why is there always some small detail you don't notice until you > posted, even in a small file like this? > > Removed commented-out lines. Bump? 0001-gnu-package-pv.scm-pv-New-file-new-variable.patch Description: Binary data

Re: [PATCH] gnu/package/pv.scm (pv): New file, new variable

2015-06-23 Thread
On Tue, Jun 23, 2015 at 1:43 PM, Alex Kost wrote: > Claes Wallin (韋嘉誠) (2015-06-19 21:51 +0300) wrote: > I think there is no need in this ↑ line. The commit message should be: > > --8<---cut here---start->8--- > gnu: Add pv. > > * g

Compile guix from git?

2015-06-24 Thread
How do people compile guix directly from git source? I've been searching around in HACKING and manual.html#Contributing and other places, the internet in general, and haven't been able to find any instructions. It ought to be: 1. Get dependencies manually or with 'guix environment guix'. 2. acloc

Re: [PATCH] gnu/package/pv.scm (pv): New file, new variable

2015-06-24 Thread
On Tue, Jun 23, 2015 at 1:43 PM, Alex Kost wrote: > --8<---cut here---start->8--- > gnu: Add pv. > > * gnu/package/pv.scm (pv): New file. > * gnu-system.am (GNU_SYSTEM_MODULES): Add it. > --8<---cut here---end--->8--- > > And

Re: Compile guix from git?

2015-06-25 Thread
On Thu, Jun 25, 2015 at 11:05 AM, Mathieu Lirzin wrote: > "Claes Wallin (韋嘉誠)" writes: > >> How do people compile guix directly from git source? I've been >> searching around in HACKING and manual.html#Contributing and other >> places, the internet in gen

Re: Compile guix from git?

2015-06-25 Thread
On Thu, Jun 25, 2015 at 11:25 AM, Ludovic Courtès wrote: > "Claes Wallin (韋嘉誠)" skribis: > >> How do people compile guix directly from git source? I've been >> searching around in HACKING and manual.html#Contributing and other >> places, the internet in gen

Re: guix environment & PS1

2015-06-25 Thread
On Thu, Jun 25, 2015 at 3:28 PM, Ricardo Wurmus wrote: > Thompson, David writes: >> On Thu, Jun 25, 2015 at 8:02 AM, Ricardo Wurmus >> wrote: >>> >>> Would it be feasible to give "GUIX_ENVIRONMENT" the package name as a >>> value instead of just "t"? >> >> Not really, because 'guix environment'

Re: guix environment & PS1

2015-06-25 Thread
On Thu, Jun 25, 2015 at 10:00 PM, Claes Wallin (韋嘉誠) wrote: > On Thu, Jun 25, 2015 at 3:28 PM, Ricardo Wurmus > wrote: >> Thompson, David writes: >>> On Thu, Jun 25, 2015 at 8:02 AM, Ricardo Wurmus >>> wrote: >>>> >>>> Would it be fea

[PATCH] Add skalibs, execline.

2015-06-25 Thread
Adds the common skalibs library and the execline shell-like language. I'm wondering if the commands of the language belong in bin or if they maybe should be in libexec/execline. They have pretty generic names and might clash with other packages. Either way I think patch #0003 is important, as it

Re: [PATCH] gnu/package/pv.scm (pv): New file, new variable

2015-06-26 Thread
On 26-Jun-2015 3:33 pm, "Alex Kost" wrote: > Claes Wallin (韋嘉誠) (2015-06-25 00:35 +0300) wrote: > > From e93d21889bdcbed02a517f30d8401a3bb144cce4 Mon Sep 17 00:00:00 2001 > > From: Claes Wallin > > Date: Fri, 19 Jun 2015 20:12:09 +0200 > > Subject: [PATCH

Re: [PATCH] Add skalibs, execline.

2015-06-29 Thread
On Jun 28, 2015 10:38 PM, "Ludovic Courtès" wrote: > "Claes Wallin (韋嘉誠)" skribis: > > +(search-paths > > + (list (search-path-specification > > +(variable "CPATH") > > +(files '("include")

Re: guix environment & PS1

2015-06-29 Thread
On Mon, Jun 29, 2015 at 10:41 AM, Ludovic Courtès wrote: > "Claes Wallin (韋嘉誠)" skribis: >> On Thu, Jun 25, 2015 at 3:28 PM, Ricardo Wurmus >> wrote: >>> I’m mostly using “guix environment” with a single package name, and for >>> that purpose it wou

Re: Help with a basic GuixSD installation

2015-06-30 Thread
On 30-Jun-2015 3:08 pm, "Ludovic Courtès" wrote: > Evan Rowley skribis: > > > (file-systems (cons (file-system > > (device > > "/dev/disk/by-id/ata-WDC_WD20EURS-63SPKY0_WD-WMC300539593-part3") > > (title "root") > > (mount-

Re: Help with a basic GuixSD installation

2015-07-01 Thread
On Wed, Jul 1, 2015 at 11:23 AM, Ludovic Courtès wrote: > "Claes Wallin (韋嘉誠)" skribis: > >> So *that's* what the mysterious (title 'label) means! > > It’s not that mysterious: > > https://www.gnu.org/software/guix/manual/html_node/File-Systems.html > > :-) Ow, the burn. :-)

Re: [PATCH] Add skalibs, execline.

2015-07-01 Thread
On Jul 1, 2015 3:32 PM, "Ludovic Courtès" wrote: > > I'm working on s6, and it > > expects -lexecline to work. Currently I'm feeding its configure > > "--with-lib=.../lib/execline", would be nice to get that done in > > execline instead. Modifying LIBRARY_PATH has no effect, what do I need > > to

Re: guix environment & PS1

2015-07-01 Thread
On Jul 1, 2015 4:02 PM, "Thompson, David" wrote: > On Wed, Jul 1, 2015 at 9:10 AM, Ludovic Courtès wrote: > > I reckon it has the unfortunate property of not working out of the box > > (except on GuixSD.) I’m sure many tools these days would choose to > > hard-code a fancy colored PS1; while I

Re: security concerns of using guix packages

2015-07-02 Thread
On Jul 3, 2015 6:44 AM, "John Darrington" wrote: > On Fri, Jul 03, 2015 at 12:38:49AM +, Cook, Malcolm wrote: >> The sys admin at my institute expresses concern that we would potentially expose ourselves to additional security risk by building scientific software stack in Guix where we m

Re: [PATCH] Add skalibs, execline.

2015-07-04 Thread
On Jul 4, 2015 5:14 PM, "Ludovic Courtès" wrote: > "Claes Wallin (韋嘉誠)" skribis: > >> > I'm working on s6, and it > >> > expects -lexecline to work. Currently I'm feeding its configure > >> > "--with-lib=.../lib/execl

Re: security concerns of using guix packages

2015-07-04 Thread
On 04-Jul-2015 4:22 pm, "Ludovic Courtès" wrote: > A related concern is the time it takes to actually deploy the fixed > binaries on your machine. This is discussed at: > > http://www.gnu.org/software/guix/manual/html_node/Security-Updates.html Ok, this is great. Gives sysadmins a chance to a

Re: Help with a basic GuixSD installation

2015-07-05 Thread
On Jul 5, 2015 10:16 AM, "Mark H Weaver" wrote: > l...@gnu.org (Ludovic Courtès) writes: > > "Claes Wallin (韋嘉誠)" skribis: > > > >> So *that's* what the mysterious (title 'label) means! > > > > It’s not that mysterious: > >

Re: [PATCH] Add skalibs, execline.

2015-07-06 Thread
On Mon, Jun 29, 2015 at 11:36 AM, Claes Wallin (韋嘉誠) wrote: > On Jun 28, 2015 10:38 PM, "Ludovic Courtès" wrote: >> "Claes Wallin (韋嘉誠)" skribis: >> Please start the .patch with a brief description of what it does, and >> its upstream status (like “Ups

[PATCH 1/2] gnu: Update pumpa source URL.

2015-07-08 Thread
From: Claes Wallin * pumpio.scn (pumpa): Update gitorious.org URL to branchable.com URL. --- gnu/packages/pumpio.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/pumpio.scm b/gnu/packages/pumpio.scm index 4a6375f..26d7b4a 100644 --- a/gnu/packages/pumpio.scm +

[PATCH 2/2] gnu: Update pumpa to 0.9.1.

2015-07-08 Thread
From: Claes Wallin --- gnu/packages/pumpio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/pumpio.scm b/gnu/packages/pumpio.scm index 26d7b4a..22c631e 100644 --- a/gnu/packages/pumpio.scm +++ b/gnu/packages/pumpio.scm @@ -30,7 +30,7 @@ (define-public pum

[PATCH 1/2] gnu: Update pumpa source URL.

2015-07-08 Thread
From: Claes Wallin * gnu/packages/pumpio.scm (pumpa): Update gitorious.org URL to branchable.com URL. --- gnu/packages/pumpio.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/pumpio.scm b/gnu/packages/pumpio.scm index 4a6375f..26d7b4a 100644 --- a/gnu/package

[PATCH 2/2] gnu: Update pumpa to 0.9.1.

2015-07-08 Thread
From: Claes Wallin * gnu/packages/pumpio.scm (pumpa): Update version to 0.9.1. --- gnu/packages/pumpio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/pumpio.scm b/gnu/packages/pumpio.scm index 26d7b4a..22c631e 100644 --- a/gnu/packages/pumpio.scm +++ b/g

[no subject]

2015-07-08 Thread
Ok! Sending the merged patch. Sorry for the patch spam, still figuring out the git-send-mail way of working. -- /c

[PATCH] gnu: Update pumpa to 0.9.1.

2015-07-08 Thread
From: Claes Wallin * gnu/packages/pumpio.scm (pumpa): Update gitorious.org URL to branchable.com URL. * gnu/packages/pumpio.scm (pumpa): Update version to 0.9.1. --- gnu/packages/pumpio.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/pumpio.scm b/gnu/p

Re: [PATCH] gnu: Update pumpa to 0.9.1.

2015-07-08 Thread
On Thu, Jul 9, 2015 at 1:54 AM, Mathieu Lirzin wrote: > "Claes Wallin (韋嘉誠)" writes: > >> From: Claes Wallin >> >> * gnu/packages/pumpio.scm (pumpa): Update gitorious.org URL to >> branchable.com URL. >> * gnu/packages/pumpio.scm (pumpa): Update

Re: [PATCH] gnu: Update pumpa to 0.9.1.

2015-07-10 Thread
On Jul 9, 2015 7:49 PM, "Mathieu Lirzin" wrote: > > One last thing before pushing. :) > > Following the > http://lists.gnu.org/archive/html/guix-devel/2015-07/msg00235.html > discussion, I want to know if the usage of the email address > instead of > in your patch was intentionnal? Do you mean

Re: [PATCH] Add skalibs, execline.

2015-07-13 Thread
On 12-Jul-2015 10:57 pm, "Ludovic Courtès" wrote: > > * gnu/package/skarnet.scm (skalibs): New file. > > * gnu-system.am (GNU_SYSTEM_MODULES): Add it. > > Applied with a slight change to the description to make it a sentence. > > * gnu/package/skarnet.scm (execline): New variable. > > Finally ap

Re: Using a shared Guix store (was RE: [Bio-packaging] testing out guix)

2015-07-19 Thread
On Jul 18, 2015 5:13 PM, "Ludovic Courtès" wrote: > "Cook, Malcolm" skribis: > > > However > > > > ./pre-inst-env guix package -i hello > > > > Gives me > > > > guix package: error: build failed: the build users group `guix-builder' has no members > > > > But, but, I do have a group `

Re: [PATCH] Add rpy2.

2015-07-20 Thread
On Jul 8, 2015 2:57 PM, "Ludovic Courtès" wrote: > Ricardo Wurmus skribis: > > Subject: [PATCH] gnu: Add python-rpy2. > > > > * gnu/packages/python.scm (python-rpy2, python2-rpy2): New variables. > > +(license gpl2+))) > > R being GPLv3+, this should be the same. I understand the reasoning

Re: [PATCH] Add rpy2.

2015-07-20 Thread
On Jul 20, 2015 5:56 PM, "Ludovic Courtès" wrote: > "Claes Wallin (韋嘉誠)" skribis: > >> > +(license gpl2+))) > >> > >> R being GPLv3+, this should be the same. > > > > I understand the reasoning that a package is more user-or

Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-16 Thread
On 16-Aug-2015 2:19 pm, "David Thompson" wrote: Great! I ran into this when trying to compile and run guix on a machine at work, where I'm not root. I was planning to run guix as a stow of steroids. But I'm still wondering whether what I'm attempting is even intended to be possible? Of course, I

Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-16 Thread
[Reposting with correct sender. Sorry, David.] Great! I ran into this when trying to compile and run guix on a machine at work, where I'm not root. I was planning to run guix as a stow of steroids. But I'm still wondering whether what I'm attempting is even intended to be possible? Of course, I w

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠) wrote: > [Reposting with correct sender. Sorry, David.] > > Great! I ran into this when trying to compile and run guix on a machine at > work, where I'm not root. > > I was planning to run guix as a stow of steroids.

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier wrote: > On Mon, 17 Aug 2015 14:45:28 +0200 > Claes Wallin (韋嘉誠) wrote: >> On Sun, Aug 16, 2015 at 4:01 PM, Claes Wallin (韋嘉誠) >> wrote: >> > [Reposting with correct sender. Sorry, David.] >> > >> > Grea

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Mon, Aug 17, 2015 at 4:27 PM, Claes Wallin (韋嘉誠) wrote: > Now I'm doing this: > > git clean -fxd && # recover from previous attempts > git checkout HEAD . && # ditto > gettextize --po-dir=po{/guix,/packages,} && > sed -re '/^[[:blank:]]*p

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Mon, Aug 17, 2015 at 3:42 PM, Claes Wallin (韋嘉誠) wrote: > On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier > wrote: >>> https://www.gnu.org/software/guix/manual/guix.html#Build-Environment-Setup >>> >>> "If you are installing Guix as an unprivileged user

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Mon, Aug 17, 2015 at 4:34 PM, Thompson, David wrote: > On Mon, Aug 17, 2015 at 4:33 AM, Eric Bavier > wrote: >> On Mon, 17 Aug 2015 14:45:28 +0200 >> Claes Wallin (韋嘉誠) wrote: >>> https://www.gnu.org/software/guix/manual/guix.html#Build-Environment-Setup >>

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
I'm almost done talking to myself, I promise. This is just all very exciting. On Mon, Aug 17, 2015 at 4:31 PM, Claes Wallin (韋嘉誠) wrote: > On Mon, Aug 17, 2015 at 4:27 PM, Claes Wallin (韋嘉誠) > wrote: > >> Now I'm doing this: >> >> git clean -fxd &

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Mon, Aug 17, 2015 at 5:25 PM, Thompson, David wrote: > On Mon, Aug 17, 2015 at 11:16 AM, Claes Wallin (韋嘉誠) > wrote: >>> I think that to really make unprivileged use of Guix work acceptably, >>> we need to use the user namespaces feature first introduced in Linux &g

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-17 Thread
On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier wrote: > I have experimented with this a bit lately. It works to some extent, > but I have had to apply a few patches to some package recipes. Some > packages have failing tests (where presumably they would pass or be > skipped in the chroot), which

Re: FOSDEM 2016

2015-08-18 Thread
On Tue, Aug 18, 2015 at 12:32 PM, Pjotr Prins wrote: > And who else can (with some likelihood) come to Brussels if February? FOSDEM > is > my favorite conference and there is something for everyone involved in FOSS. Thanks for the heads-up! Been meaning to go to FOSDEM for years. Next year it

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-18 Thread
On Mon, Aug 17, 2015 at 10:57 PM, Eric Bavier wrote: > On 2015-08-17 15:46, Claes Wallin wrote: >> On Mon, Aug 17, 2015 at 10:33 AM, Eric Bavier >> wrote: >> >>> I have experimented with this a bit lately. It works to some extent, >>> but I have had to apply a few patches to some package recipes

Re: Running guix-daemon as an unprivileged user (Was: [PATCH] syscalls: setns: Skip binding if there is no such C function.)

2015-08-18 Thread
On Mon, Aug 17, 2015 at 10:57 PM, Eric Bavier wrote: >> Any patches related to bootstrapping gcc? I'm getting lib/lib64 confusion. > > > Yes, that's been one issue. > > Attached are the patches I have so far. Hopefully they can get you a bit > further. I've been able to build a number of packag

Re: [PATCH] scripts: package: Add --install-from-file option.

2015-08-19 Thread
On Aug 19, 2015 10:57 AM, "Amirouche Boubekki" wrote: >> On a similar note, I like a lot the idea of Andy Wingo `guix install` >> and `guix search`. > > > To be precise I prefer, `guix package install` and `guix package search` (which is not the subject of patch of Andy Wingo). The point is exac

Re: elogind status

2015-08-21 Thread
On Fri, Aug 21, 2015 at 12:33 PM, Andy Wingo wrote: > Hi :) > > To pick up a thread from May, I was poking at elogind recently. A bit > of recap as to how things got here, then the status. [ . . . ] > I want GNOME on Guix :) GNOME used to support ConsoleKit but doesn't > any more. There is a