GNU bug report logs - #51061
[PATCH v2 01/23] guix: Add extracting-download.

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Wed, 6 Oct 2021 15:21:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


Message #74 received at 51061 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>, 42180 <at> debbugs.gnu.org, 
 51061 <at> debbugs.gnu.org
Subject: Re: [bug#51061] [PATCH v2 03/23] guix: Add rebar3 build-system.
Date: Wed, 06 Oct 2021 20:56:17 +0200
[Message part 1 (text/plain, inline)]
Hartmut Goebel schreef op wo 06-10-2021 om 17:20 [+0200]:
> +(define* (lower name
> +                #:key source inputs native-inputs outputs system target
> +                (rebar (default-rebar3))
> +                (erlang (default-erlang))
> +                #:allow-other-keys
> +                #:rest arguments)
> +  "Return a bag for NAME."
> +  (define private-keywords
> +    '(#:source #:target #:rebar #:inputs #:native-inputs))
> +
> +  (and (not target)                               ;XXX: no cross-compilation
> +       (bag
> +         (name name)
> +         (system system)
> +         (host-inputs `(,@(if source
> +                              `(("source" ,source))
> +                              '())
> +                        ,@inputs
> +                        ;; Keep the standard inputs of 'gnu-build-system'.
> +                        ,@(standard-packages)))

(standard-packages) contains packages like gcc, coreutils, bash, ...,
which should be in build-inputs.  Not that it matters much here,
as this procedure doesn't support cross-compilation.

> +         (build-inputs `(("rebar" ,rebar)
> +                         ("erlang" ,erlang) ;; for escriptize
> +                         ,@native-inputs))
> +         (outputs outputs)
> +         (build rebar3-build)
> +         (arguments (strip-keyword-arguments private-keywords arguments)))))

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

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

Previous Next


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