Subject: [bug#49149] [PATCH 0/7] Add deb format for guix pack.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 23 Jun 2021 23:16:54 +0200

Hi,

Maxime Devos <[email-masked]> skribis:

> Maxim Cournoyer schreef op ma 21-06-2021 om 02:12 [-0400]:

[...]

>> +;;; XXX: The following procedure has to *also* be used in the build side
>> +;;; G-Exp, because PROFILE is passed as a derivation in the tests.
>> +(define define-manifest->friendly-name
>> +  '(define (manifest->friendly-name manifest) [...]))
>>
>> +(eval define-manifest->friendly-name (current-module))
>
> You can avoid 'eval' here by defining 'manifest->friendly-name
> in a separate guix/build/pack-utils.scm module.

Seconded!

> Alternatively, some macroology (untested, may need some tweaks):

See also ‘define-os-with-source’ in (gnu tests).

HTH,
Ludo’.