summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/commencement.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 2e91ded693..8c9cd7c037 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2746,6 +2746,22 @@ exec " gcc "/bin/" program
        #:strip-binaries? #f
        #:validate-runpath? #f))))
 
+(define patch-boot0
+  (package
+    (inherit patch)
+    (source (bootstrap-origin (package-source patch)))
+    (name "patch-boot0")
+    (native-inputs '())
+    (inputs
+     `(("make" ,gnu-make-boot0)
+       ,@(%bootstrap-inputs+toolchain)))
+    (arguments
+     `(#:tests? #f                      ; merge test fails
+       #:implicit-inputs? #f
+       #:guile ,%bootstrap-guile
+       #:strip-binaries? #f
+       #:validate-runpath? #f))))
+
 (define sed-boot0
   (package
     (inherit sed)
@@ -2767,6 +2783,7 @@ exec " gcc "/bin/" program
     ("findutils" ,findutils-boot0)
     ("file" ,file-boot0)
     ("gawk" ,gawk-boot0)
+    ("patch" ,patch-boot0)
     ("sed" ,sed-boot0)
     ,@(%bootstrap-inputs+toolchain)))