gnu: bzip2: Patch bzip2 utilities.
* gnu/packages/compression.scm (bzip2)[arguments]: Add patch-script phase to remove absolute reference to /bin/rm. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
		
							parent
							
								
									03bc86b8f4
								
							
						
					
					
						commit
						e7ee50f2d2
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -254,6 +254,12 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in | |||
|                              (copy-file file | ||||
|                                         (string-append libdir "/" base)))) | ||||
|                          (find-files "." "^libbz2\\.so"))) | ||||
|              #t)) | ||||
|          (add-after 'install-shared-lib 'patch-scripts | ||||
|            (lambda* (#:key outputs inputs #:allow-other-keys) | ||||
|              (let* ((out (assoc-ref outputs "out"))) | ||||
|                (substitute* (string-append out "/bin/bzdiff") | ||||
|                  (("/bin/rm") "rm"))) | ||||
|              #t))) | ||||
| 
 | ||||
|        #:make-flags (list (string-append "PREFIX=" | ||||
|  |  | |||
		Reference in a new issue