unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72152] [PATCH] gnu: highlight: Use correct location for default configuration files.
@ 2024-07-17 10:01 chris
  2024-07-17 10:12 ` [bug#72152] explanation of patch chris
  0 siblings, 1 reply; 2+ messages in thread
From: chris @ 2024-07-17 10:01 UTC (permalink / raw)
  To: 72152; +Cc: chris

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-17 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 10:01 [bug#72152] [PATCH] gnu: highlight: Use correct location for default configuration files chris
2024-07-17 10:12 ` [bug#72152] explanation of patch chris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).