summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2021-07-19 02:31:42 -0400
committerLudovic Courtès <ludo@gnu.org>2021-07-31 01:03:25 +0200
commit65bad4d03684a32598e0c6fb3449e481e37acfde (patch)
tree64ac439751002b91e9b76a9e723fdc537bb664cc /gnu/local.mk
parent1ae95ebcddb89fd2845054a15d6d0bc40a56b80e (diff)
downloadguix-65bad4d03684a32598e0c6fb3449e481e37acfde.tar.gz
gnu: racket: Unbundle racket-minimal.
This change takes advantage of improved support for layered
and tethered installations in Racket 8.2.

* gnu/packages/racket.scm (extend-layer): New private variable.
This is a script for configuring a new config-tethered layer
chaining to an existing Racket installation.
* gnu/packages/racket.scm (racket)[source](snippet): Unbundle
`racket-minimal`.
[inputs]: Remove inputs that properly belong to `racket-minimal`.
[native-inputs]: Add `racket-minimal` and `extend-layer`.
[arguments]: Stop inheriting from `racket-minimal`. Add phase
'unpack-packages to move the sources and links file into place.
Replace 'configure phase using `extend-layer`.
Replace 'build phase using `raco setup`.
Delete 'install phase.
* gnu/packages/patches/racket-sh-via-rktio.patch: Rename to ...
* gnu/packages/patches/racket-minimal-sh-via-rktio.patch: ... this
file to placate `guix lint`.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/racket.scm (racket-minimal)[source]: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 450d9574b0..c530507b1a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1685,7 +1685,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/ripperx-missing-file.patch		\
   %D%/packages/patches/rpcbind-CVE-2017-8779.patch		\
   %D%/packages/patches/rtags-separate-rct.patch			\
-  %D%/packages/patches/racket-sh-via-rktio.patch		\
+  %D%/packages/patches/racket-minimal-sh-via-rktio.patch	\
   %D%/packages/patches/remake-impure-dirs.patch			\
   %D%/packages/patches/retroarch-LIBRETRO_DIRECTORY.patch	\
   %D%/packages/patches/rnp-add-version.cmake.patch		\