[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62199] [PATCH v3] gnu: Add emacs-fdroid.
From: |
Nicolas Goaziou |
Subject: |
[bug#62199] [PATCH v3] gnu: Add emacs-fdroid. |
Date: |
Tue, 21 Mar 2023 10:30:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
conses <contact@conses.eu> writes:
> * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable.
> + #:phases #~(modify-phases %standard-phases
> + (add-after 'unpack 'patch-file-name
> + (lambda _
> + (emacs-substitute-variables "fdroid.el"
> + ("fdroid-program"
> + (string-append #$(this-package-input "fdroidcl")
> + "/bin/fdroidcl"))))))))
Thanks.
I suggest to use `search-input-file' instead of of `this-package-input'
as it can find errors in the executable name at build time (e.g., if it
ever changes). It is also shorter.
Could you provide another update?
Otherwise, LGTM.
Regards,