Re: Daemon update

2015-05-20 Thread Alex Vorobiev
Hi, Ludovic Courtès gnu.org> writes: > bunch of C++11 lambdas here, a bit of ‘auto’ there.) Does it mean it can't be installed on systems with older c++ compilers? I am on RHEL 6.5 which has gcc-4.4.7 and ironically one of my main reasons to try guix was to be able to install newer versions

Re: ftp Re: --with-store-dir and/or --localstatedir seem to be ignored

2015-05-20 Thread Alex Vorobiev
Ludovic Courtès gnu.org> writes: > > Alex Vorobiev gmail.com> skribis: > > > Thanks! I pulled the master from git and rebuilt/reinstalled guix. Now I > > don't see that error! But I do see another one: > > > > $ guix package -i bash > > looking for the latest release of GNU bash...FTP to `ft

[PATCH] scripts: Move 'set-build-options-from-command-line*' to (guix scripts build) module.

2015-05-20 Thread David Thompson
More tidying. Moving this monadic procedure to the more sensible place will allow reuse in other scripts. 'guix deploy' will use it. >From 8bb17b4ce15e6db8c9a6aea3cd83208dd76f8e8c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 20 May 2015 18:48:10 -0400 Subject: [PATCH] scripts: Move

[PATCH] ui: Deduplicate 'show-what-to-build*'.

2015-05-20 Thread David Thompson
Just tidying up a bit. :) >From aab1d1d3ebc76a9ac9c82d3690d76cdad1128a6f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 20 May 2015 18:42:35 -0400 Subject: [PATCH] ui: Deduplicate 'show-what-to-build*'. * guix/ui.scm (show-what-to-build*): New procedure. * guix/scripts/environment.scm

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread rekado
On Wed, 20 May 2015 20:18:31 +0800 Ludovic Courtès wrote >So this happens only with this derivation? No. It happens whenever I build something without substitutes. There are no substitutes for packages that are still in development (like my ibus-pinyin draft). >I suppose you’re o

Website, differentiating GuixSD vs Guix

2015-05-20 Thread Paul van der Walt
Hello Guix, Minor headache i had, thought i'd share. Went to the website to download the binary tarball (which seems to work very well, kudos!), but was bitten by the fact that the GuixSD and GNU Guix downloads aren't separated. I first ended up with GuixSD instead of Guix, then after reading way

Re: Guix binary tarball

2015-05-20 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> Here's a suggested patch: >> >> diff --git a/gnu/system/install.scm b/gnu/system/install.scm >> index 799851c..10fbfdd 100644 >> --- a/gnu/system/install.scm >> +++ b/gnu/system/install.scm >> @@ -71,7 +71,14 @@ under /root/.gui

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread Alex Kost
Daniel Pimentel (2015-05-20 16:12 +0300) wrote: > On 2015-05-20 09:24, l...@gnu.org wrote: >> Daniel Pimentel skribis: >> >>> I have similar problem, I think. My problem was permission to write >>> (using sudo) in /gnu/store/ when I needed to enable my correct >>> synaptics (I copied 50-synaptics

Re: --with-store-dir and/or --localstatedir seem to be ignored

2015-05-20 Thread Mark H Weaver
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes: > Mark H Weaver writes: > >>> ;; There is no /usr/bin or /bin - replace it with /gnu/store >>> (substitute* "testsuite/cpio.tests" >>> - (("/usr/bin") "/gnu/store") >>> - (("usr") "g

Re: [PATCH] gnu: Add sfxr.

2015-05-20 Thread David Thompson
Mark H Weaver writes: > Please add #t to the end of this phase procedure, since the return value > of 'substitute*' is not specified, and phase procedures are supposed to > return a boolean indicating success or failure. Good catch. Fixed and pushed! -- David Thompson GPG Key: 0FF1D807

Re: Reproducible profiles

2015-05-20 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> Below is a new patch set taking into account the feedback received thus >> far. The (guix profiles) module still needs to be documented in the >> manual, but there's quite a lot of procedures and variables to account >> for. Would anyone b

Re: guix package --search-paths

2015-05-20 Thread 宋文武
Ludovic Courtès writes: > With commit dbc31ab, it is now possible to do things like: > > eval `guix package --search-paths=suffix` > > to augment the search path environment variables instead of overriding > them. Doesn't the KIND field belong to 'search-path-specification'? Some variables are

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread Daniel Pimentel
On 2015-05-20 09:24, l...@gnu.org wrote: Daniel Pimentel skribis: I have similar problem, I think. My problem was permission to write (using sudo) in /gnu/store/ when I needed to enable my correct synaptics (I copied 50-synaptics.conf file to /gnu/store/.../xorg.conf.d/), so I needed remount /

Re: [PATCH 10/10] gnu: base: Added glibc-for-target macro.

2015-05-20 Thread Ludovic Courtès
Manolis Ragkousis skribis: > The macro that doesn't work as expected. How doesn’t it work exactly? :-) Note that because this patch changes ‘glibc’ from a “normal” variable to a syntax object, you need to ‘make clean-go && make’. > From 8534372800703610b1436870da2caf1fa3c9796c Mon Sep 17 00:0

Re: Reproducible profiles

2015-05-20 Thread Ludovic Courtès
David Thompson skribis: > Below is a new patch set taking into account the feedback received thus > far. The (guix profiles) module still needs to be documented in the > manual, but there's quite a lot of procedures and variables to account > for. Would anyone be intertested in helping with thi

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread Ludovic Courtès
Daniel Pimentel skribis: > I have similar problem, I think. My problem was permission to write > (using sudo) in /gnu/store/ when I needed to enable my correct > synaptics (I copied 50-synaptics.conf file to > /gnu/store/.../xorg.conf.d/), so I needed remount /gnu/store/ (sudo > mount -o remount,

Re: [PATCH] Add guile-emacs!

2015-05-20 Thread Ludovic Courtès
Nice, thank you folks! Ludo’.

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread Ludovic Courtès
rekado skribis: > build error: executing > `/gnu/store/cnqmkmj40jmssnx6fkf9n0n3bqj5x426-guile-2.0.11/bin/guile': > Permission denied > builder for > `/gnu/store/ni0hz29nyd051fsp2n73icjnwx28fajz-ibus-pinyin-1.5.0.tar.gz.drv' > failed with exit code 1 > @ build-failed > /gnu/store/ni0hz29nyd05

Re: [PATCH] gnu: openblas: Disable DYNAMIC_ARCH on MIPS.

2015-05-20 Thread Ricardo Wurmus
Mark H Weaver writes: >> - "DYNAMIC_ARCH=1") >> + ;; Unfortunately, this is not supported on MIPS. >> + ,@(if (string-prefix? "mips" (%current-system)) >> + (list) >> + (list "DYNAMIC_ARCH=1"))) > > It would be marginally pre

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread Daniel Pimentel
On 2015-05-20 04:06, rekado wrote: Hi Guix, my apologies for this badly formatted email. I'm using a webmail interface because I have not been able to set up my email through Emacs on GuixSD as I cannot build custom packages. Here's what happens when I try to build a custom package from a git

Re: Guix binary tarball

2015-05-20 Thread Ludovic Courtès
Mark H Weaver skribis: > Andreas Enge writes: > >> - The tarball also contains /, /root and /var. When unpacking it, the owner >> and permissions are changed on the system. As a consequence, we could not >> ssh into the machine any more (!). Could these directories be left out of >> the ta

guix package --search-paths

2015-05-20 Thread Ludovic Courtès
With commit dbc31ab, it is now possible to do things like: eval `guix package --search-paths=suffix` to augment the search path environment variables instead of overriding them. Comments welcome! Ludo’.

Re: permission denied: /gnu/store/...guile...

2015-05-20 Thread Andreas Enge
Hello Recado, this may not at all be helpful, but whenever I encounter a mysterious problem such as this, I usually do a "make distclean; ./configure; make install". Or better yet, have it precede by "./bootstrap" and "rm -rf INSTALL_DIRECTORY/share/guile". Sometimes that solves the issue, but it

Re: Guix binary tarball

2015-05-20 Thread Andreas Enge
On Tue, May 19, 2015 at 07:03:57PM -0400, Mark H Weaver wrote: > If we did this, then we could revert 8c3a5d7059 and avoid any use of > --skip-old-files. I would be in favor of this. > > What do you think? Sounds good, thanks for looking into this! Andreas

Re: --with-store-dir and/or --localstatedir seem to be ignored

2015-05-20 Thread Taylan Ulrich Bayırlı/Kammer
Mark H Weaver writes: >> ;; There is no /usr/bin or /bin - replace it with /gnu/store >> (substitute* "testsuite/cpio.tests" >> - (("/usr/bin") "/gnu/store") >> - (("usr") "gnu")) >> + (("/usr/bin") (%store-directory)) >> +

permission denied: /gnu/store/...guile...

2015-05-20 Thread rekado
Hi Guix, my apologies for this badly formatted email. I'm using a webmail interface because I have not been able to set up my email through Emacs on GuixSD as I cannot build custom packages. Here's what happens when I try to build a custom package from a git checkout of the guix repository: