GNU bug report logs - #73646
[PATCH] emacs-alchemist: add alchemist-server output

Previous Next

Package: guix-patches;

Reported by: bigbookofbug <at> proton.me

Date: Sat, 5 Oct 2024 21:26:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 73646 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: bigbookofbug <at> proton.me, 73646 <at> debbugs.gnu.org
Subject: Re: [PATCH] emacs-alchemist: add alchemist-server output
Date: Sun, 06 Oct 2024 15:40:03 +0200
Am Samstag, dem 05.10.2024 um 21:25 +0000 schrieb
bigbookofbug <at> proton.me:
> From: emma thompson <bigbookofbug <at> proton.me>
> 
> ---
>  gnu/packages/emacs-xyz.scm | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 09ac57a464..5567c38a3a 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -4046,6 +4046,15 @@ (define-public emacs-alchemist
>      (build-system emacs-build-system)
>      (propagated-inputs
>       (list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-
> info))
> +    (arguments
Prefer the new style, that is (list #:phases ...)
> +     '(#:phases (modify-phases %standard-phases
> +                  (add-after 'install 'install-server
> +                    (lambda* (#:key outputs #:allow-other-keys)
> +                      (let* ((out (assoc-ref outputs "out"))
> +                             (server (string-append out
> "/share/emacs/site-lisp/alchemist-1.8.2/alchemist-server")))
Is there a better way to encode this path?  You might also want to look
into #:include, which is already provided by emacs-build-system.
> +                        (mkdir-p server)
> +                        (copy-recursively "alchemist-server" server)
> +                        (delete-file-recursively (string-append
> server "/test"))))))))
Cheers

This bug report was last modified 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.