[Top][All Lists]

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

Re: The case for moving raw binaries

From: Ludovic Courtès
Subject: Re: The case for moving raw binaries
Date: Mon, 23 May 2022 17:10:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)


Liliana Marie Prikler <> skribis:

> "raw binaries" (henceforth rawbins) are the unwrapped binaries that
> Guix leaves behind in $PACKAGE/bin with the .$WRAPPER-real name.  This
> practise causes several issues.  For one, those rawbins are visible in
> the shell by typing a dot and using tab completion.  What's more, in
> some build systems there might be two (or even more) off them.  This
> makes a generic wrap after wrap pattern almost impossible to achieve.

One solution we haven’t yet used to its full potential is ‘wrap-script’,
an alternative to ‘wrap-program’ that Ricardo added to (guix build
utils) a while back.

Its advantage is that it does not create a new file.  It only works for
scripts, and only in some languages, but using it more widely may
already improve the situation noticeably.


reply via email to

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