[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packaging Jami progress
From: |
Jan |
Subject: |
Re: Packaging Jami progress |
Date: |
Wed, 4 Dec 2019 17:56:14 +0100 |
On Wed, 04 Dec 2019 17:06:16 +0100
Pierre Neidhardt <address@hidden> wrote:
> You need a lambda here:
>
> --8<---------------cut here---------------start------------->8---
> (add-after 'unpack 'apply-patches
> (lambda* (#:key inputs #:allow-other-keys)
> (let ((my-input (assoc-ref inputs "my-input")))
> (jami-apply-dependency-patches #:inputs my-input))))
> --8<---------------cut here---------------end--------------->8---
>
> See the other packages for many more examples.
> Does that make sense?
>
Okay, thanks.
There's a problem with the procedure though - mkdir-p, etc. are
unbound in the procedure. Tried using #:use-modules (guix build
utils), but the compiler said that "which" was imported from both
"packages base" and "build utils". If that was a package I could use
(modules '((guix build system))), but it isn't. Using #:prefix doesn't
seem to be a good way of handling this. Can I remove the unnecessary
"which"?
Sorry for asking so many questions, the whole thing is huge...
Hope one day I'll be able to do everything myself.
Jan Wielkiewicz
- Re: Packaging Jami progress, (continued)
- Re: Packaging Jami progress, Jan, 2019/12/01
- Re: Packaging Jami progress, Jan Wielkiewicz, 2019/12/03
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/03
- Re: Packaging Jami progress, Jan, 2019/12/03
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/03
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/03
- Re: Packaging Jami progress, Jan Wielkiewicz, 2019/12/04
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/04
- Re: Packaging Jami progress, Jan Wielkiewicz, 2019/12/04
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/04
- Re: Packaging Jami progress,
Jan <=
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/04
- Re: Packaging Jami progress, Jan Wielkiewicz, 2019/12/04
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/05
- Re: Packaging Jami progress, Jan, 2019/12/05
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/05
- Re: Packaging Jami progress, Jan Wielkiewicz, 2019/12/09
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/10
- Re: Packaging Jami progress, Caleb Ristvedt, 2019/12/10
- Re: Packaging Jami progress, Pierre Neidhardt, 2019/12/10
- Re: Packaging Jami progress, Jan Wielkiewicz, 2019/12/10