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

2015-05-21 Thread Ludovic Courtès
Alex Vorobiev skribis: > 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 l

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

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: --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)) >> +

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

2015-05-19 Thread Mark H Weaver
Hi Taylan, Taylan Ulrich Kammer writes: > From 2dcd57e71c86c780e0e06ae5579c2f8e65b3de91 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= > > Date: Fri, 15 May 2015 10:59:44 +0200 > Subject: [PATCH] Parameterize references to /gnu/store. > > * gnu/packages

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

2015-05-16 Thread Ludovic Courtès
Alex Vorobiev 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 `ftp.gnu.org' failed: > 530: User access denied. This is annoying

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

2015-05-15 Thread Alex Vorobiev
Hi, 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 `ftp.gnu.org' failed: 530: User access denied. I do know that ftp connections are not allowed o

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

2015-05-15 Thread Ludovic Courtès
Taylan Ulrich Kammer skribis: > l...@gnu.org (Ludovic Courtès) writes: > >>> * gnu/packages/busybox.scm (busybox): Call %store-directory from (guix build >>> utils) instead of referencing "/gnu/store" directly. >> >> Could you push this part to master... >> >>> * guix/packages.scm (patch-and-re

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

2015-05-15 Thread Taylan Ulrich Kammer
l...@gnu.org (Ludovic Courtès) writes: >> * gnu/packages/busybox.scm (busybox): Call %store-directory from (guix build >> utils) instead of referencing "/gnu/store" directly. > > Could you push this part to master... > >> * guix/packages.scm (patch-and-repack): Likewise. > > ... and that part to

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

2015-05-15 Thread Ludovic Courtès
Taylan Ulrich Kammer skribis: > From 2dcd57e71c86c780e0e06ae5579c2f8e65b3de91 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= > > Date: Fri, 15 May 2015 10:59:44 +0200 > Subject: [PATCH] Parameterize references to /gnu/store. > > * gnu/packages/busybox.sc

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

2015-05-15 Thread Taylan Ulrich Kammer
l...@gnu.org (Ludovic Courtès) writes: >> * guix/build/utils.scm (%store-directory): Fall back to the value of >> %store-directory from (guix config) instead of "/gnu/store". > > This won’t work: (guix config) is meant as a “host-side” module, and > anyway the daemon always defines ‘NIX_STORE’ i

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

2015-05-15 Thread Ludovic Courtès
Taylan Ulrich Kammer skribis: > From 97b43ab87a35fce3b197edf75f8545cfac5860f7 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= > > Date: Fri, 15 May 2015 10:59:44 +0200 > Subject: [PATCH] Parameterize references to /gnu/store. > > * gnu/packages/busybox.sc

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

2015-05-15 Thread Ludovic Courtès
Alex Vorobiev skribis: > I have built guix-0.8.2 and specified both --with-store-dir and -- > localstatedir (both directories are world-writable) but when I started > guix-daemon (as myself) and tried to install a package I got: > > $ guix package -i mc > guix package: error: build failed: creat

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

2015-05-15 Thread Taylan Ulrich Kammer
Alex Vorobiev writes: > Hi, > I have built guix-0.8.2 and specified both --with-store-dir and -- > localstatedir (both directories are world-writable) but when I started > guix-daemon (as myself) and tried to install a package I got: > > $ guix package -i mc > guix package: error: build failed:

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

2015-05-14 Thread Alex Vorobiev
Hi, I have built guix-0.8.2 and specified both --with-store-dir and -- localstatedir (both directories are world-writable) but when I started guix-daemon (as myself) and tried to install a package I got: $ guix package -i mc guix package: error: build failed: creating directory `/gnu': Permission