mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
0562dbe5d3
commit
bda1bc6c51
2 changed files with 5 additions and 13 deletions
|
@ -23,7 +23,7 @@ (define-module (gnu packages bdw-gc)
|
|||
#: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 @@ (define-public libatomic-ops
|
|||
;; 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)
|
||||
|
|
|
@ -136,7 +136,7 @@ (define-public guile-2.0
|
|||
|
||||
;; 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 @@ (define-public guile-2.0
|
|||
(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)
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Loading…
Reference in a new issue