From bda1bc6c51a3a0176d19f2b7b66e192fc7e0dc78 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 18 Mar 2014 15:14:02 +0100 Subject: gnu: Make libgc 7.4 the default. * gnu/packages/bdw-gc.scm (libgc): Rename to... (libgc-7.2): ... this. (libgc-7.4): Rename to... (libgc): ... this. * gnu/packages/guile.scm (guile-2.0): Switch to LIBGC. (guile-2.0/fixed): Alias GUILE-2.0. --- gnu/packages/bdw-gc.scm | 6 +++--- gnu/packages/guile.scm | 12 ++---------- 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm index 8142b4c4ef..fb3c43da89 100644 --- a/gnu/packages/bdw-gc.scm +++ b/gnu/packages/bdw-gc.scm @@ -23,7 +23,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages pkg-config)) -(define-public libgc +(define-public libgc-7.2 (package (name "libgc") (version "7.2e") @@ -86,8 +86,8 @@ lock-free code, experiment with thread programming paradigms, etc.") ;; Some source files are X11-style, others are GPLv2+. (license gpl2+))) -(define-public libgc-7.4 - (package (inherit libgc) +(define-public libgc + (package (inherit libgc-7.2) (version "7.4.0") (source (origin (method url-fetch) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 29ec1096dc..838833fcf4 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -136,7 +136,7 @@ without requiring the source code to be rewritten.") ;; The headers and/or `guile-2.0.pc' refer to these packages, so they ;; must be propagated. - ("bdw-gc" ,libgc-7.4) + ("bdw-gc" ,libgc) ("gmp" ,gmp))) (self-native-input? #t) @@ -175,15 +175,7 @@ without requiring the source code to be rewritten.") (define-public guile-2.0/fixed ;; A package of Guile 2.0 that's rarely changed. It is the one used ;; in the `base' module, and thus changing it entails a full rebuild. - (package (inherit guile-2.0) - (location (source-properties->location (current-source-location))) - - ;; Keep using the stable libgc. - (propagated-inputs (map (match-lambda - (("bdw-gc" _) - `("bdw-gc" ,libgc)) - (x x)) - (package-propagated-inputs guile-2.0))))) + guile-2.0) ;;; -- cgit v1.2.3