gnu: phockup: Properly patch exiftool.
* gnu/packages/image.scm (phockup)[arguments]: Fix 'configure phase to catch all occurrences.
This commit is contained in:
		
							parent
							
								
									21a4e66f02
								
							
						
					
					
						commit
						5618153e73
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -2428,9 +2428,10 @@ Wacom-style graphics tablets.")
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'configure
 | 
					         (add-after 'unpack 'configure
 | 
				
			||||||
           (lambda* (#:key inputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
             (substitute* (list "src/dependency.py" "src/exif.py")
 | 
					             (substitute* (list "src/dependency.py"
 | 
				
			||||||
               (("'exiftool'")
 | 
					                                "src/exif.py")
 | 
				
			||||||
                (string-append "'" (search-input-file inputs "/bin/exiftool") "'")))))
 | 
					               (("'exiftool")
 | 
				
			||||||
 | 
					                (string-append "'" (search-input-file inputs "bin/exiftool"))))))
 | 
				
			||||||
         (add-before 'install 'check
 | 
					         (add-before 'install 'check
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (invoke "pytest")))
 | 
					             (invoke "pytest")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue