summarylogtreecommitdiffstats
path: root/install.patch
blob: c607c4bfe74b2c225217a5bf8cdd29592dec3ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/tools/build/install-core-dist.pl b/tools/build/install-core-dist.pl
index 518a00d..0e81193 100644
--- a/tools/build/install-core-dist.pl
+++ b/tools/build/install-core-dist.pl
@@ -15,7 +15,13 @@ my %provides =
 
 PROCESS::<$REPO> := CompUnit::Repository::Staging.new(
     :prefix(@*ARGS[0]),
-    :next-repo(CompUnit::RepositoryRegistry.repository-for-name('perl')),
+    :next-repo(
+        # Make CompUnit::Repository::Staging available to precomp processes
+        CompUnit::Repository::Installation.new(
+            :prefix(@*ARGS[0]),
+            :next-repo(CompUnit::RepositoryRegistry.repository-for-name('perl')),
+        )
+    ),
     :name('perl'),
 );
 $*REPO.install(