guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: icestorm: Replace reference in icebox_vlog.


From: Danny Milosavljevic
Subject: 01/01: gnu: icestorm: Replace reference in icebox_vlog.
Date: Fri, 10 Mar 2017 15:36:48 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit b500dc2e83adc5529b890349af48655d0adaf1f8
Author: Theodoros Foradis <address@hidden>
Date:   Sat Jan 14 20:31:34 2017 +0200

    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.
---
 gnu/packages/fpga.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index f65eae8..0b98e2d 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]