[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/28: gnu: highlight: Don't hard-code Lua version.
From: |
Tobias Geerinckx-Rice |
Subject: |
21/28: gnu: highlight: Don't hard-code Lua version. |
Date: |
Fri, 2 Mar 2018 09:53:11 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 6e48fbb19a420ea0be1d922ebdce36d7beb0240f
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Mar 2 01:41:40 2018 +0100
gnu: highlight: Don't hard-code Lua version.
* gnu/packages/pretty-print.scm (highlight)[arguments]: Construct the
Lua prefix programatically instead of hard-coding it.
---
gnu/packages/pretty-print.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index e8baefa..6edfba9 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -27,6 +27,7 @@
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
+ #:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages groff)
@@ -266,7 +267,8 @@ seen in a terminal.")
(lambda _
(substitute* "src/makefile"
(("(pkg-config.*)lua" _ prefix)
- (string-append prefix "lua-5.3")))
+ (string-append prefix "lua-" ,(version-major+minor
+ (package-version lua)))))
#t)))))
(inputs
`(("lua" ,lua)
- 04/28: gnu: python-webtest: Update to 2.0.29., (continued)
- 04/28: gnu: python-webtest: Update to 2.0.29., Tobias Geerinckx-Rice, 2018/03/02
- 09/28: gnu: b43-tools: Update to 0.0.0-1.27892ef., Tobias Geerinckx-Rice, 2018/03/02
- 01/28: gnu: python-flask-babel: Update to 0.11.2., Tobias Geerinckx-Rice, 2018/03/02
- 12/28: gnu: ovmf: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/03/02
- 15/28: gnu: gnome-mpv: Update to 0.14., Tobias Geerinckx-Rice, 2018/03/02
- 17/28: gnu: fortify-headers: Update to 0.9., Tobias Geerinckx-Rice, 2018/03/02
- 16/28: gnu: fossil: Update phase style., Tobias Geerinckx-Rice, 2018/03/02
- 19/28: gnu: ghc-abstract-deque: Fix typos in description., Tobias Geerinckx-Rice, 2018/03/02
- 24/28: gnu: delta: Remove redundant code., Tobias Geerinckx-Rice, 2018/03/02
- 20/28: gnu: highlight: Update to 3.42., Tobias Geerinckx-Rice, 2018/03/02
- 21/28: gnu: highlight: Don't hard-code Lua version.,
Tobias Geerinckx-Rice <=
- 26/28: gnu: zerofree: Update to 1.1.1., Tobias Geerinckx-Rice, 2018/03/02
- 28/28: gnu: nghttp2: Update to 1.31.0., Tobias Geerinckx-Rice, 2018/03/02
- 27/28: gnu: libpsl: Update to 0.20.1., Tobias Geerinckx-Rice, 2018/03/02
- 13/28: gnu: ovmf: Update phase style., Tobias Geerinckx-Rice, 2018/03/02