guix-commits
[Top][All Lists]
Advanced

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

06/15: bootstrap: mes-boot: Decouple from mes update. TEMP: avoid build


From: guix-commits
Subject: 06/15: bootstrap: mes-boot: Decouple from mes update. TEMP: avoid build world.
Date: Thu, 10 Jan 2019 17:31:48 -0500 (EST)

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

commit d45d698debefebba251f95e747e43fa38c614906
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Sat Jan 5 22:40:40 2019 +0100

    bootstrap: mes-boot: Decouple from mes update. TEMP: avoid build world.
    
    * gnu/packages/commencement.scm (mes-boot0): New variable to decouple
    mes-boot from mes.
    * gnu/packages/commencement.scm (mes-boot): Use it.
---
 gnu/packages/commencement.scm | 44 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ca9a426..4e6f44e 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -81,10 +81,52 @@
 ;;;
 ;;; Code:
 
+(define mes-boot0
+  (let ((version "0.19")
+        (revision "0")
+        (commit #f))
+    (package
+      (inherit mes)
+      (name "mes-boot0")
+      (version (if commit (string-append version "-" revision "." (string-take 
commit 7))
+                   version))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "mirror://gnu/mes/"
+                                    "mes-" version ".tar.gz"))
+                (sha256
+                 (base32
+                  "15h4yhaywdc0djpjlin2jz1kzahpqxfki0r0aav1qm9nxxmnp1l0"))))
+      (native-inputs '())
+      (propagated-inputs '()))))
+
+(define nyacc-boot
+  (let ((version "0.86.0")
+        (revision "0")
+        (commit #f))
+    (package
+      (inherit nyacc)
+      (name "nyacc-boot")
+      (version
+       (if commit
+           (string-append version "-" revision "." (string-take commit 7))
+           version))
+      (source
+       (if commit
+           (origin
+             (method url-fetch)
+             (uri (string-append "https://gitlab.com/janneke/nyacc";
+                                 "/-/archive/" commit
+                                 "/nyacc-" commit ".tar.gz"))
+             (sha256
+              (base32
+               "0dlcqmchhl57nh7f0v6qb1kkbi7zbs3b185hcqv57fhb60b7rgcq")))
+           (package-source nyacc))))))
+
 (define mes-boot
   (package-with-bootstrap-guile
    (package
-     (inherit mes)
+     (inherit mes-boot0)
      (name "mes-boot")
      (inputs '())
      (propagated-inputs '())



reply via email to

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