aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-30 21:37:41 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-30 21:37:41 +0100
commitfa29b1998893f6ee136bca02bde2b59435d0737b (patch)
tree153d9cb23db84d10b77d167553228e0155d384e2
parent6b345e06cd9e074cf589b34e78fa3ff6d33aa822 (diff)
downloadguix-fa29b1998893f6ee136bca02bde2b59435d0737b.tar
guix-fa29b1998893f6ee136bca02bde2b59435d0737b.tar.gz
distro: Add `guile-2.0/fixed', which should rarely change.
* distro/packages/guile.scm (guile-2.0/fixed): New variable. * distro/packages/base.scm (guile-final): Use it.
-rw-r--r--distro/packages/base.scm2
-rw-r--r--distro/packages/guile.scm5
2 files changed, 6 insertions, 1 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index 8a9e6d8166..ea6297107f 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -920,7 +920,7 @@ store.")
;; holds a dependency on the bootstrap Binutils. Use multiple outputs for
;; Libtool, so that that dependency is isolated in the "bin" output.
(package-with-bootstrap-guile
- (package-with-explicit-inputs guile-2.0
+ (package-with-explicit-inputs guile-2.0/fixed
%boot4-inputs
(current-source-location)
#:guile %bootstrap-guile)))
diff --git a/distro/packages/guile.scm b/distro/packages/guile.scm
index 80e5ef7612..a9a07a34ec 100644
--- a/distro/packages/guile.scm
+++ b/distro/packages/guile.scm
@@ -130,6 +130,11 @@ call interface, and powerful string processing.")
(home-page "http://www.gnu.org/software/guile/")
(license "LGPLv3+")))
+(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.
+ guile-2.0)
+
;;;
;;; Extensions.