gnu: solaar: Fix build.
* gnu/packages/admin.scm (solaar)[arguments]: Remove unnecessary custom ‘build’ phase. Set PYTHONPATH earlier, before building. Reported by Robin Templeton (terpri on #guix).
This commit is contained in:
		
							parent
							
								
									b3e8e6fdcf
								
							
						
					
					
						commit
						210f5420ed
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -3673,10 +3673,7 @@ support forum.  It runs with the @code{/exec} command in most IRC clients.")
 | 
			
		|||
              (("'--prefix' in sys\\.argv")
 | 
			
		||||
               "len([x.startswith('--prefix=') for x in sys.argv]) > 0"))
 | 
			
		||||
             #t))
 | 
			
		||||
         (replace 'build
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (invoke "python" "setup.py" "build")))
 | 
			
		||||
         (add-before 'check 'setenv-PATH
 | 
			
		||||
         (add-before 'build 'setenv-PATH
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH")))
 | 
			
		||||
             #t)))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue