mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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 @@ (define-public icestorm
|
|||
(("-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)))
|
||||
|
|
Loading…
Reference in a new issue