GNU bug report logs - #54304
[PATCH] Don't fix git executable location during Elixir build

Previous Next

Package: guix-patches;

Reported by: Cees de Groot <cg <at> evrl.com>

Date: Tue, 8 Mar 2022 20:53:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>, Cees de Groot <cg <at> evrl.com>
Cc: 54304 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: [bug#54304] [PATCH] Don't fix git executable location during Elixir build
Date: Fri, 11 Mar 2022 22:57:02 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès schreef op vr 11-03-2022 om 22:51 [+0100]:
> If we know what set of store references go in those blogs, we could
> create a text file or something in #$output whose sole purpose is to
> keep a reference to those store items.
> 
> For example, if we know those BEAM files contain a reference to Git, we
> can add a phase like:
> 
>   (lambda* (#:key inputs outputs #:allow-other-keys)
>     (symlink (search-input-file inputs "git")

Doesn't that need to be "bin/git" instead of "git"?

>              (string-append (assoc-ref output "out")
>                             "/libexec/elixir/.git")))
> 
> That way the GC will keep Git around.
>
> Thoughts?

That is not sufficient if git acquires a graft.

Can elixir be patched to not compress the literals table (*)?
Alternatively, does deflate have some kind of "compression
level=0" setting -- perhaps we could do the same trick as
done for JARs?

(*) Preferably submitted upstream in some form, maybe with a
configuration flag?

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 93 days ago.

Previous Next


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