aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-23 08:48:03 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:21:02 +0100
commit31a3db77e96d91cc75bb7c5703c9f16effe190ee (patch)
treedaf22a3feed49c9398b98d4ff4673b4a710ea5da /gnu
parentfdab061994a5f6f737fe8219d7cc2f936f790f5c (diff)
downloadpatches-31a3db77e96d91cc75bb7c5703c9f16effe190ee.tar
patches-31a3db77e96d91cc75bb7c5703c9f16effe190ee.tar.gz
gnu: commencement: Add patch-boot0.
* gnu/packages/commencement.scm (patch-boot0): New variable: patch without lzip dependency (via ed). (%boot0-inputs): Add it.
Diffstat (limited to 'gnu')
-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)))