Revert "gnu: source-highlight: Wrap scripts."
This package causes the rebuild of more than 9000 packages.
This reverts commit 367bc2d198.
			
			
This commit is contained in:
		
							parent
							
								
									e3f4ab49b1
								
							
						
					
					
						commit
						40fb160a5e
					
				
					 1 changed files with 3 additions and 12 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| ;;; GNU Guix --- Functional package management for GNU | ||||
| ;;; Copyright © 2016, 2019, 2020, 2024 Efraim Flashner <efraim@flashner.co.il> | ||||
| ;;; Copyright © 2016, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> | ||||
| ;;; Copyright © 2016, 2021 Ricardo Wurmus <rekado@elephly.net> | ||||
| ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> | ||||
| ;;; Copyright © 2017, 2020, 2021 Ludovic Courtès <ludo@gnu.org> | ||||
|  | @ -47,7 +47,6 @@ | |||
|   #:use-module (gnu packages ghostscript) | ||||
|   #:use-module (gnu packages gperf) | ||||
|   #:use-module (gnu packages groff) | ||||
|   #:use-module (gnu packages guile) | ||||
|   #:use-module (gnu packages gv) | ||||
|   #:use-module (gnu packages llvm) | ||||
|   #:use-module (gnu packages lua) | ||||
|  | @ -305,7 +304,7 @@ a fast alternative to @code{IOStreams}.") | |||
|     ;; The ctags that comes with emacs does not support the --excmd options, | ||||
|     ;; so can't be used | ||||
|     (inputs | ||||
|      (list boost guile-3.0)) | ||||
|      (list boost)) | ||||
|     (native-inputs | ||||
|      (list bison flex)) | ||||
|     (arguments | ||||
|  | @ -337,15 +336,7 @@ a fast alternative to @code{IOStreams}.") | |||
|                    (substitute* '("tests/test.sh.html" | ||||
|                                   "tests/test2.sh.html" | ||||
|                                   "tests/test.tcl.html") | ||||
|                      (("#! */bin/sh") "#!/bin/sh")))) | ||||
|                (add-after 'install 'wrap-scripts | ||||
|                  (lambda* (#:key outputs #:allow-other-keys) | ||||
|                    (for-each | ||||
|                      (lambda (script) | ||||
|                        (wrap-script (string-append #$output "/bin/" script) | ||||
|                          `("PATH" ":" prefix (,(string-append #$output "/bin"))))) | ||||
|                      (list "cpp2html" "java2html" "source-highlight-esc.sh" | ||||
|                            "src-hilite-lesspipe.sh"))))))) | ||||
|                      (("#! */bin/sh") "#!/bin/sh"))))))) | ||||
|     (home-page "https://www.gnu.org/software/src-highlite/") | ||||
|     (synopsis "Produce a document with syntax highlighting from a source file") | ||||
|     (description | ||||
|  |  | |||
		Reference in a new issue