mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
gnu: qelectrotech: Use GEXPs.
* gnu/packages/engineering.scm (qelectrotech): Use GEXPs. Change-Id: Ibfdce387805f01a3073b81e2ff59b5521514f0fa
This commit is contained in:
parent
950f9c7108
commit
66c44dd6e4
1 changed files with 9 additions and 9 deletions
|
@ -924,15 +924,15 @@ required for Fritzing app.")
|
|||
(arguments
|
||||
;; XXX: tests are built for the CMake build option but it seems to be
|
||||
;; broken in 0.8.0.
|
||||
`(#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
;; Patch hardcoded path before running qmake.
|
||||
(substitute* "qelectrotech.pro" (("\\/usr\\/local") out))
|
||||
(invoke "qmake")))))))
|
||||
(list #:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
;; Patch hardcoded path before running qmake.
|
||||
(substitute* "qelectrotech.pro"
|
||||
(("\\/usr\\/local") #$output))
|
||||
(invoke "qmake"))))))
|
||||
(native-inputs
|
||||
(list pkg-config qttools-5))
|
||||
(inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue