From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Website development questions Date: Wed, 23 Nov 2016 23:11:26 +0100 Message-ID: <87fumh4zjl.fsf@gnu.org> References: <1e6da887355434e25f4190b53cdb2f26@openmailbox.org> <877f85gj51.fsf@gnu.org> <4c33f39cbd6c869e205ba58503e93bf4@openmailbox.org> <87shqlvsnc.fsf@gnu.org> <87vavf86v0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9flM-0004dR-U1 for guix-devel@gnu.org; Wed, 23 Nov 2016 17:11:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9flJ-00088r-OV for guix-devel@gnu.org; Wed, 23 Nov 2016 17:11:32 -0500 In-Reply-To: ("Luis Felipe =?utf-8?Q?L=C3=B3pez?= Acevedo"'s message of "Tue, 22 Nov 2016 19:59:24 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Luis Felipe =?utf-8?Q?L=C3=B3pez?= Acevedo Cc: guix-devel@gnu.org Luis Felipe L=C3=B3pez Acevedo skribis: > On 2016-11-22 17:52, ludo@gnu.org wrote: >> Luis Felipe L=C3=B3pez Acevedo skribis: >> >>> However, I have another problem: >>> >>> scheme@(guile-user)> (export-web-page packages-page >>> "site/packages/index.html") >>> gnu/packages/databases.scm:87:21: In procedure #>> at gnu/packages/databases.scm:80:12 ()>: >>> gnu/packages/databases.scm:87:21: Throw to key `srfi-34' with args >>> `(#>> not found"] d5b3220>)'. >>> >>> Entering a new prompt. Type `,bt' for a backtrace or `,q' to >>> continue. >> >> Somehow =E2=80=98search-patch=E2=80=99 from (gnu packages) doesn=E2=80= =99t find the patch or is >> not looking in the right places. >> >> Could you check the value of (%patch-path)? >> >> ,use(gnu packages) >> (%patch-path) > > Ok, this is what I have: > > ("/home/anonimo/Documentos/guix-artwork/website" > "/home/anonimo/.guix-profile/share/guile/site/2.0" > "/home/anonimo/Documentos/guix/" > "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/2.= 0" > "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/si= te/2.0" > "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/si= te" > "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile") > > What should be there? I haven't added any patches directory to PATH, > nor do I know where patches are... =E2=80=98%patch-path=E2=80=99 is defined like this: --8<---------------cut here---------------start------------->8--- (define %patch-path ;; Define it after '%package-module-path' so that '%load-path' contains u= ser ;; directories, allowing patches in $GUIX_PACKAGE_PATH to be found. (make-parameter (map (lambda (directory) (if (string=3D? directory %distro-root-directory) (string-append directory "/gnu/packages/patches") directory)) %load-path))) --8<---------------cut here---------------end--------------->8--- So patches are looked up in the =E2=80=9Cgnu/packages/patches=E2=80=9D sub-= directory relative to the load path entry that contains =E2=80=9Cguix.scm=E2=80=9D. Presumably /home/anonimo/Documentos/guix/ contains guix.scm and so patches are expected to be in /home/anonimo/Documentos/guix/gnu/packages/patches. Is it the case? Or could it be that only =E2=80=9C4store-fix-buildsystem.p= atch=E2=80=9D is missing? HTH, Ludo=E2=80=99.