gnu: librecad: Use G-Expressions.

* gnu/packages/engineering.scm (librecad)[arguments]: Use G-Expressions.

Change-Id: Ib796867b2282eb52878d0304fb391f1007cc13a0
This commit is contained in:
Vinicius Monego 2025-02-15 20:36:48 -03:00
parent 0d1c0027f2
commit b4dc8eb4ad
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -218,18 +218,18 @@ their devices.")
"1nal6xfh9qcvn96gapb1jn3nyz3n3wwidqdc864rv38lrigms66i"))))
(build-system qt-build-system)
(arguments
'(#:test-target "check"
(list
#:test-target "check"
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs #:allow-other-keys)
(lambda _
(system* "qmake" (string-append "BOOST_DIR="
(assoc-ref inputs "boost")))))
#$(this-package-input "boost")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(share (string-append out "/share/librecad")))
(let ((bin (string-append #$output "/bin"))
(share (string-append #$output "/share/librecad")))
(mkdir-p bin)
(install-file "unix/librecad" bin)
(mkdir-p share)