gnu: racket: Racket inherits racket-minimal, not vice versa.
authorPhilip McGrath <philip@philipmcgrath.com>
Fri, 16 Apr 2021 21:11:38 +0000 (17:11 -0400)
committerLudovic Courtès <ludo@gnu.org>
Wed, 5 May 2021 14:56:45 +0000 (16:56 +0200)
commit93867cb3beff479e6dd4fd2d0199ddc3508efeab
treee98c511bcf2f7aa37773668b6a0b1f8fb442193e
parentcd9454f6ed4e24612ed378c06174151c5fef4fd1
gnu: racket: Racket inherits racket-minimal, not vice versa.

By design, the `racket` package is equivalent to 'racket-minimal'
plus 'raco pkg install -i main-distribution'.
This switch brings the Guix packages a small step closer to that goal.

* gnu/packages/racket.scm (racket-minimal, racket): Change
'racket-minimal' to be the base package and 'racket' to inherit
from it.  Move 'version', 'patches', 'home-page', 'build-system',
'arguments', and 'license' to 'racket-minimal'.
* gnu/packages/racket.scm (racket)[inputs]: Rather than copy and
pasting, use '(package-inputs racket-minimal)'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/racket.scm