Subject: Re: [bug#54678] [PATCH] gnu: Add emacs-pyimport.

From: Maxime Devos <[email-masked]>
Date: Mon, 04 Apr 2022 20:14:50 +0200

jgart via Guix-patches via schreef op vr 01-04-2022 om 22:58 [-0400]:
> +                      (let ((python-pyflakes (assoc-ref inputs "python-pyflakes")))
> +                        (make-file-writable "pyimport.el")
> +                        (substitute* "pyimport.el"
> +                          (("\"pyflakes")
> +                           (string-append "\"" python-pyflakes "/bin/pyflakes")))))))))

Input labels can be avoided here:

  (substitute* ...
    ...
    (string-append ... (search-input-file inputs "bin/pyflakes")))

Greetings,
Maxime.