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")))) "1nal6xfh9qcvn96gapb1jn3nyz3n3wwidqdc864rv38lrigms66i"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
'(#:test-target "check" (list
#:phases #:test-target "check"
(modify-phases %standard-phases #:phases
(replace 'configure #~(modify-phases %standard-phases
(lambda* (#:key inputs #:allow-other-keys) (replace 'configure
(system* "qmake" (string-append "BOOST_DIR=" (lambda _
(assoc-ref inputs "boost"))))) (system* "qmake" (string-append "BOOST_DIR="
#$(this-package-input "boost")))))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let ((bin (string-append #$output "/bin"))
(bin (string-append out "/bin")) (share (string-append #$output "/share/librecad")))
(share (string-append out "/share/librecad")))
(mkdir-p bin) (mkdir-p bin)
(install-file "unix/librecad" bin) (install-file "unix/librecad" bin)
(mkdir-p share) (mkdir-p share)