bug-guix
[Top][All Lists]
Advanced

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

bug#61684: can't compose 'with-patch' with 'with-source'


From: Ludovic Courtès
Subject: bug#61684: can't compose 'with-patch' with 'with-source'
Date: Fri, 03 Mar 2023 10:43:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Unfortunately the source derivation fails because it attempts to apply a
> patch (a single one?) to a tarball:
>
> (begin
>   (use-modules
>    (guix build utils))
>   (setenv "PATH" 
> "/gnu/store/mp0syh29rjknflaiv0hkpdlb2mjk0rlx-patch-2.7.6/bin")
>   (copy-recursively 
> "/gnu/store/ig8awlxbzrasp9p4f9vq8fqcidrma5qj-jami-20230224.0.tar.gz"
>                     ((@
>                       (guile)
>                       getenv)
>                      "out"))
>   (chdir
>    ((@
>      (guile)
>      getenv)
>     "out"))
>   (for-each
>    (lambda
>        (patch)
>      (invoke "patch" "-p1" "--batch" "-i" patch))
>    (quote
>     
> ("/gnu/store/iq7hd3f9kr2kvz7lvnygq51yxp85gxbn-jami-libjami-headers-search.patch"))))

That’s a bug we should fix (and indeed, ‘patched-source’ has an XXX
comment about it…).

Ludo’.





reply via email to

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