me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2014-03-18 15:14:02 +01:00
parent 0562dbe5d3
commit bda1bc6c51
2 changed files with 5 additions and 13 deletions

View File

@ -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)

View File

@ -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)
;;;