[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72152] [PATCH] gnu: highlight: Use correct location for default con
From: |
chris |
Subject: |
[bug#72152] [PATCH] gnu: highlight: Use correct location for default configuration files. |
Date: |
Wed, 17 Jul 2024 03:01:51 -0700 |
* gnu/packages/pretty-print.scm (highlight): Use correct location for default
configuration files. Resolves missing filetypes.conf warnings.
[arguments]: Output default configurations to etc.
Change-Id: Ic9404cfb3490e5a212d46dfc483ee5eacbb906aa
---
gnu/packages/pretty-print.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index 220761fc07..e754b31668 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -369,11 +369,9 @@ (define-public highlight
(arguments
(list
#:tests? #f ;no tests
- #:make-flags #~(let ((confdir (string-append #$output
-
"/share/highlight/config/")))
- (list (string-append "PREFIX=" #$output)
- (string-append "HL_CONFIG_DIR=" confdir)
- (string-append "conf_dir=" confdir)))
+ #:make-flags #~(list (string-append "PREFIX=" #$output)
+ (string-append "HL_CONFIG_DIR=" #$output "/etc/")
+ (string-append "conf_dir=" #$output "/etc/"))
#:phases #~(modify-phases %standard-phases
(delete 'configure) ;no configure script
(add-after 'unpack 'fix-search-for-lua
base-commit: a800c49fb767f549fbc0eefe8dce6daa5da8604c
--
2.45.2
- [bug#72152] [PATCH] gnu: highlight: Use correct location for default configuration files.,
chris <=