guix-commits
[Top][All Lists]
Advanced

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

06/15: gnu: guile: Apply Shepherd fix to the default Guile.


From: guix-commits
Subject: 06/15: gnu: guile: Apply Shepherd fix to the default Guile.
Date: Tue, 14 Jan 2020 12:37:10 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit f63495d31bf5acad00b6ee5f44a0553a67ee91fb
Author: Marius Bakke <address@hidden>
AuthorDate: Tue Jan 14 18:09:50 2020 +0100

    gnu: guile: Apply Shepherd fix to the default Guile.
    
    * gnu/packages/guile.scm (guile-2.2/bug-fix): Remove variable.
    (guile-2.2)[source](patches): Add "guile-finalization-crash.patch".
    * gnu/packages/admin.scm (shepherd)[inputs, native-inputs]: Change from
    GUILE-2.2/BUG-FIX to GUILE-2.2.
---
 gnu/packages/admin.scm |  4 ++--
 gnu/packages/guile.scm | 13 +------------
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 0790925..460228d 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -211,10 +211,10 @@ and provides a \"top-like\" mode (monitoring).")
      `(("pkg-config" ,pkg-config)
 
        ;; This is the Guile we use as a cross-compiler...
-       ("guile" ,guile-2.2/bug-fix)))
+       ("guile" ,guile-2.2)))
     (inputs
      ;; ... and this is the one that appears in shebangs when cross-compiling.
-     `(("guile" ,guile-2.2/bug-fix)          ;for <https://bugs.gnu.org/37757>
+     `(("guile" ,guile-2.2)             ;for <https://bugs.gnu.org/37757>
 
        ;; The 'shepherd' command uses Readline when used interactively.  It's
        ;; an unusual use case though, so we don't propagate it.
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index c074326..7b60097 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -230,6 +230,7 @@ without requiring the source code to be rewritten.")
                 "1269ymxm56j1z1lvq1y42rm961f2n7rinm3k6l00p9k52hrpcddk"))
               (modules '((guix build utils)))
               (patches (search-patches
+                        "guile-finalization-crash.patch"
                         "guile-2.2-skip-oom-test.patch"))
 
               ;; Remove the pre-built object files.  Instead, build everything
@@ -250,18 +251,6 @@ without requiring the source code to be rewritten.")
             (variable "GUILE_LOAD_COMPILED_PATH")
             (files '("lib/guile/2.2/site-ccache")))))))
 
-(define-public guile-2.2/bug-fix
-  ;; This variant contains a bug fix for a relatively rare crash that could
-  ;; affect shepherd as PID 1: <https://bugs.gnu.org/37757>.
-  (package
-    (inherit guile-2.2)
-    (version (string-append (package-version guile-2.2) "-1"))
-    (source (origin
-              (inherit (package-source guile-2.2))
-              (patches
-               (append (search-patches "guile-finalization-crash.patch")
-                       (origin-patches (package-source guile-2.2))))))))
-
 (define-public guile-2.2/fixed
   ;; A package of Guile 2.2 that's rarely changed.  It is the one used
   ;; in the `base' module, and thus changing it entails a full rebuild.



reply via email to

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