guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/54: bootstrap: nyacc-boot. WIP


From: guix-commits
Subject: 12/54: bootstrap: nyacc-boot. WIP
Date: Fri, 22 Nov 2019 18:17:43 -0500 (EST)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit f6e686957ceca1038b960c0aef105710e6050f35
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Sun Sep 15 19:01:33 2019 +0200

    bootstrap: nyacc-boot.  WIP
    
    Scheme-only bootstrap.
    
    * gnu/packages/commencement.scm (nyacc-boot): New variable.
---
 gnu/packages/commencement.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 8bf7704..c5ea10e 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -84,6 +84,30 @@
 ;;;
 ;;; Code:
 
+(define nyacc-boot
+  ;; The regular Nyacc has a snippet fix in source, which leads to tar.xz.
+  ;; During bootstrap we can only unzip .gz.
+  (package
+    (inherit nyacc)
+    (name "nyacc-boot")
+    (version "0.99.0")
+    (source (bootstrap-origin
+             (origin
+               (method url-fetch)
+               (uri (string-append "mirror://savannah/nyacc/nyacc-"
+                                   version ".tar.gz"))
+               (sha256
+                (base32
+                 "0hl5qxx19i4x1r0839sxm19ziqq65g4hy97yik81cc2yb9yvgyv3")))))
+    (inputs '())
+    (propagated-inputs '())
+    (native-inputs
+     `(("bash" , %bootstrap-gash)
+       ("guile" ,%bootstrap-guile)))
+    (arguments
+     `(#:implicit-inputs? #f
+       #:guile ,%bootstrap-guile))))
+
 (define mes-boot
   (package
     (inherit mes)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]