gnu: rust-swc: Prepare for cross-compilation.
* gnu/packages/rust-apps.scm (rust-swc)[arguments]: Adjust custom 'install phase to search all of the 'target' directory for the swc binary to install. Change-Id: Ib1a1ebce0ea61d14530f17a93b898e425342a1ad
This commit is contained in:
parent
84ca518b26
commit
6d45f24dee
@ -1361,8 +1361,9 @@ touchscreen devices.")
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin")))
|
||||
(install-file "target/release/swc" bin)))))))
|
||||
(bin (string-append out "/bin"))
|
||||
(swc (car (find-files "target" "^swc$"))))
|
||||
(install-file swc bin)))))))
|
||||
(home-page "https://swc.rs/")
|
||||
(synopsis "Typescript/javascript compiler")
|
||||
(description "@code{rust-swc} is a typescript/javascript compiler. It
|
||||
|
Loading…
x
Reference in New Issue
Block a user