summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/racket-backport-8.11-layered-docs.patch
blob: 07f105bb24119494f9465302c00df69e40f66493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 1d8dbdf408db9e99f1382323477561d5148cd451 Mon Sep 17 00:00:00 2001
From: Philip McGrath <philip@philipmcgrath.com>
Date: Fri, 20 Oct 2023 17:19:50 -0400
Subject: [PATCH] racket-index: fix release.scrbl for layered installations
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Configure the release notes page to be rendered separately at every
installation layer. Otherwise, rendering documentation for packages
installed in a new layer might try to write to `release/in.sxref`
in the parent layer’s docs directory.

Related to https://github.com/videolang/video/issues/67
Related to https://issues.guix.gnu.org/56534

(cherry picked from commit 85f21854c0a41564b755fbe180fe6b85de6c4730)
---
 pkgs/racket-index/scribblings/main/info.rkt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/racket-index/scribblings/main/info.rkt b/pkgs/racket-index/scribblings/main/info.rkt
index 75c507848a..a6a3798f7c 100644
--- a/pkgs/racket-index/scribblings/main/info.rkt
+++ b/pkgs/racket-index/scribblings/main/info.rkt
@@ -6,4 +6,4 @@
     ("local-redirect.scrbl" (depends-all-main no-depend-on every-main-layer) (omit) "local-redirect" 1 10)
     ("license.scrbl" () (omit))
     ("acks.scrbl"    () (omit))
-    ("release.scrbl" (depends-all-main no-depend-on) (omit))))
+    ("release.scrbl" (depends-all-main no-depend-on every-main-layer) (omit))))

base-commit: c3a502c0ae9f4d615bfd85fc7d88b781826bbb09
-- 
2.41.0