gnu: icestorm: Replace reference in icebox_vlog.
* gnu/packages/fpga.scm (icestorm)[arguments]: Add phase "fix-usr-local" to replace reference to /usr/local/share.
This commit is contained in:
		
							parent
							
								
									97bede8466
								
							
						
					
					
						commit
						b500dc2e83
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -231,6 +231,11 @@ For synthesis, the compiler generates netlists in the desired format.")
 | 
			
		|||
                (("-I/usr/local/include") "")
 | 
			
		||||
                (("-L/usr/local/lib") ""))
 | 
			
		||||
              #t))
 | 
			
		||||
          (add-after 'remove-usr-local 'fix-usr-local
 | 
			
		||||
            (lambda* (#:key outputs #:allow-other-keys)
 | 
			
		||||
              (substitute* "icebox/icebox_vlog.py"
 | 
			
		||||
                (("/usr/local/share") (string-append (assoc-ref outputs "out") "/share")))
 | 
			
		||||
              #t))
 | 
			
		||||
          (delete 'configure))))
 | 
			
		||||
    (inputs
 | 
			
		||||
     `(("libftdi" ,libftdi)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue