bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56030: The guix pull profile is too big


From: Maxime Devos
Subject: bug#56030: The guix pull profile is too big
Date: Thu, 21 Jul 2022 18:22:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0


On 21-07-2022 18:13, ( wrote:
Okay, another (hopefully more coherent) proposal: Patch in a

```
extern char *__guix_shell_path;
```

And then, we use a linker script to provide the definition of
__guix_shell_path at linking time. (Unfortunately there's no way to do
this with a flag, afaik...)

We could compile a '__guix_shell_path = "/..."' during the compilation of the package (as a .o) and wrap gcc to insert it to the CLI arguments, no linker scripts required.  Not all linkers support linker scripts, e.g. mold doesn't from what I've read because they make the linker slower.

Greetings,
Maxime.

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]