guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Website development questions


From: Luis Felipe López Acevedo
Subject: Re: Website development questions
Date: Wed, 23 Nov 2016 20:24:41 -0500
User-agent: Roundcube Webmail/1.0.6

On 2016-11-23 17:11, address@hidden wrote:
Luis Felipe López Acevedo <address@hidden> skribis:

On 2016-11-22 17:52, address@hidden wrote:
Luis Felipe López Acevedo <address@hidden> 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 #<procedure c375ef0
at gnu/packages/databases.scm:80:12 ()>:
gnu/packages/databases.scm:87:21: Throw to key `srfi-34' with args `(#<condition &message [message: "4store-fix-buildsystem.patch: patch
not found"] d5b3220>)'.

    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to
continue.

Somehow ‘search-patch’ from (gnu packages) doesn’t 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/site/2.0" "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/site" "/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...

‘%patch-path’ is defined like this:

--8<---------------cut here---------------start------------->8---
(define %patch-path
;; Define it after '%package-module-path' so that '%load-path' contains user
  ;; directories, allowing patches in $GUIX_PACKAGE_PATH to be found.
  (make-parameter
   (map (lambda (directory)
          (if (string=? 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 “gnu/packages/patches” sub-directory
relative to the load path entry that contains “guix.scm”.

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 “4store-fix-buildsystem.patch”
is missing?

hmm, patches are in that location, and the patch not found is actually there as well:

    $ find -name "4store-fix-buildsystem.patch"
    ./gnu/packages/patches/4store-fix-buildsystem.patch

:(


--
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]