[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: gnu: highlight: Fix paths for Perl bindings.
From: |
guix-commits |
Subject: |
09/11: gnu: highlight: Fix paths for Perl bindings. |
Date: |
Mon, 14 Aug 2023 18:34:38 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 03bc7bee942cb14edd709dbd14725e5e2c0e289f
Author: gemmaro <gemmaro.dev@gmail.com>
AuthorDate: Mon Aug 7 23:05:42 2023 +0900
gnu: highlight: Fix paths for Perl bindings.
* gnu/packages/pretty-print.scm (highlight): Fix paths for Perl bindings.
[arguments]<phases>: Set hl_data_dir and hl_conf_dir in
install-perl-bindings phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/pretty-print.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index f8763b7b74..5d15b160f3 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -414,14 +414,19 @@ seen in a terminal.")
(string-append "PREFIX=" out)))))
(add-after 'install 'install-perl-bindings
(lambda* (#:key outputs #:allow-other-keys)
- (let* ((perldir (string-append (assoc-ref outputs
- "out")
+ (let* ((out (assoc-ref outputs "out"))
+ (data (string-append out
+ "/share/highlight/"))
+ (conf (string-append out "/etc/highlight/"))
+ (perldir (string-append out
"/lib/perl5/site_perl/"
#$(package-version perl)))
(autodir (string-append perldir
"/auto/highlight")))
(with-directory-excursion "extras/swig"
- (invoke "make" "perl")
+ (invoke "make" "perl"
+ (string-append "hl_data_dir=" data)
+ (string-append "hl_conf_dir=" conf))
(invoke "perl" "-I" "." "testmod.pl")
(install-file "highlight.pm" perldir)
(install-file "highlight.so" autodir)))))
- branch master updated (d55d2a971b -> 355f2073fb), guix-commits, 2023/08/14
- 03/11: doc: cookbook: Mention common SRFI-1 procedures., guix-commits, 2023/08/14
- 02/11: doc: cookbook: Add 'use-modules' in gexp example., guix-commits, 2023/08/14
- 06/11: gnu: highlight: Update to 4.7., guix-commits, 2023/08/14
- 11/11: gnu: fennel: Update to 1.3.1., guix-commits, 2023/08/14
- 04/11: doc: Add reference to the Scheme Crash Course., guix-commits, 2023/08/14
- 08/11: gnu: highlight: Add "gui" output., guix-commits, 2023/08/14
- 09/11: gnu: highlight: Fix paths for Perl bindings.,
guix-commits <=
- 07/11: gnu: highlight: Use new package style., guix-commits, 2023/08/14
- 01/11: doc: cookbook: Link to "Package Modules"., guix-commits, 2023/08/14
- 10/11: gnu: llama-cpp: Update to 0.0.0-0.f31b539., guix-commits, 2023/08/14
- 05/11: gnu: guile-smc: Update to 0.6.2., guix-commits, 2023/08/14