From: Andrew Tropin via Guix-patches via <guix-patches@gnu.org>
To: Igor Goryachev via Guix-patches via <guix-patches@gnu.org>,
71898-done@debbugs.gnu.org
Cc: Igor Goryachev <igor@goryachev.org>
Subject: bug#71898: [PATCH] gnu: erlang-lfe: Make LFE compiler deterministic.
Date: Sun, 07 Jul 2024 11:52:13 +0400 [thread overview]
Message-ID: <875xthfxle.fsf@trop.in> (raw)
In-Reply-To: <5db9d2295039cce1032a9dbe53a7048c358d5ceb.1719910637.git.igor@goryachev.org>
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
On 2024-07-02 11:57, Igor Goryachev via Guix-patches via wrote:
> * gnu/packages/erlang.scm (erlang-lfe): Make LFE compiler deterministic.
>
> Change-Id: I0cf00eeda8502384b746795802f1b2291d0e8a3b
> ---
> gnu/packages/erlang.scm | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
> index dd07c1a617..58aac2bead 100644
> --- a/gnu/packages/erlang.scm
> +++ b/gnu/packages/erlang.scm
> @@ -792,6 +792,11 @@ (define-public erlang-lfe
> #:phases
> #~(modify-phases %standard-phases
> (delete 'configure)
> + (add-after 'unpack 'make-deterministic
> + (lambda _
> + (substitute* "src/lfe_env.erl"
> + (("maps:fold\\(F, A, D\\)")
> + "lists:sort(maps:fold(F, A, D))"))))
> ;; The following is inspired by rebar-build-system.scm
> (add-before 'check 'erlang-depends
> (lambda* (#:key inputs #:allow-other-keys)
>
> base-commit: 5f1e4e4c0242af6bcba656aedf8b49afbe7247b7
Superseded by 71899.
--
Best regards,
Andrew Tropin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2024-07-07 7:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 8:57 [bug#71898] [PATCH] gnu: erlang-lfe: Make LFE compiler deterministic Igor Goryachev via Guix-patches via
2024-07-02 11:01 ` Andrew Tropin via Guix-patches via
2024-07-07 7:52 ` Andrew Tropin via Guix-patches via [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875xthfxle.fsf@trop.in \
--to=guix-patches@gnu.org \
--cc=71898-done@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=igor@goryachev.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.