[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/12: gnu: guile-xcb: Always use the input Guile's effective version.
From: |
guix-commits |
Subject: |
07/12: gnu: guile-xcb: Always use the input Guile's effective version. |
Date: |
Thu, 26 May 2022 15:41:32 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 00b6a808b7bf2f5d5d3b6b299ee0d14ff0f09057
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 22 02:00:06 2022 +0200
gnu: guile-xcb: Always use the input Guile's effective version.
* gnu/packages/guile-wm.scm (guile-xcb)[arguments]: Replace hard-coded
version number with that of the "guile" input.
---
gnu/packages/guile-wm.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/guile-wm.scm b/gnu/packages/guile-wm.scm
index 911cda8968..63a5b2ce22 100644
--- a/gnu/packages/guile-wm.scm
+++ b/gnu/packages/guile-wm.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
+;;; Copyright © 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,7 +31,8 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix utils))
(define-public guile-xcb
(let ((commit "db7d5a393cc37a56f66541b3f33938b40c6f35b3")
@@ -48,16 +50,17 @@
(base32
"16w4vgzbmnwih4bgfn8rw85ryfvzhc6hyly6bic9sd7hhc82rcnd"))))
(build-system gnu-build-system)
- (arguments '(;; Parallel builds fail.
- #:parallel-build? #f
- #:configure-flags (list (string-append
- "--with-guile-site-dir="
- (assoc-ref %outputs "out")
- "/share/guile/site/2.2")
- (string-append
- "--with-guile-site-ccache-dir="
- (assoc-ref %outputs "out")
- "/lib/guile/2.2/site-ccache"))))
+ (arguments
+ `( ;; Parallel builds fail.
+ #:parallel-build? #f
+ #:configure-flags
+ (let ((out (assoc-ref %outputs "out"))
+ (effective ,(version-major+minor
+ (package-version (this-package-input "guile")))))
+ (list (string-append "--with-guile-site-dir=" out
+ "/share/guile/site/" effective)
+ (string-append "--with-guile-site-ccache-dir=" out
+ "/lib/guile/" effective "/site-ccache")))))
(native-inputs (list guile-2.2 pkg-config texinfo))
(inputs `(("guile" ,guile-2.2)
("xcb" ,xcb-proto)))
- branch master updated (4577f3c6b6 -> 03216987c9), guix-commits, 2022/05/26
- 08/12: gnu: guile-xcb: Remove input labels., guix-commits, 2022/05/26
- 01/12: gnu: jc: Update to 1.19.0., guix-commits, 2022/05/26
- 06/12: gnu: python-aiounittest: Update to 1.4.1., guix-commits, 2022/05/26
- 11/12: gnu: libcbor: Update to 0.9.0., guix-commits, 2022/05/26
- 04/12: gnu: python-fitsio: Update to 1.1.7., guix-commits, 2022/05/26
- 03/12: gnu: python-astroquery: Update to 0.4.6., guix-commits, 2022/05/26
- 02/12: gnu: emacs-list-utils: Update to 0.4.6-1.0dec8c0., guix-commits, 2022/05/26
- 05/12: gnu: python-jplephem: Update to 2.17., guix-commits, 2022/05/26
- 07/12: gnu: guile-xcb: Always use the input Guile's effective version.,
guix-commits <=
- 10/12: gnu: guile-wm: Remove trailing #t from phases., guix-commits, 2022/05/26
- 12/12: gnu: libcbor: Mark up description., guix-commits, 2022/05/26
- 09/12: gnu: guile-wm: Always use the input Guile's effective version., guix-commits, 2022/05/26