gnu: sequoia-sq: Fix build.

* gnu/packages/sequoia.scm (sequoia-sq)[arguments]: Replace the 'install
phase.

Change-Id: I7afafeb2cca4a60f0799c5c789860b771ccf3268
This commit is contained in:
Efraim Flashner 2025-11-20 10:43:39 +02:00
parent 8ea2113120
commit db391e87f2
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -149,6 +149,12 @@ This Guix package is built to use the nettle cryptographic library.")
(add-after 'unpack 'set-asset-out-dir
(lambda _
(setenv "ASSET_OUT_DIR" "target/assets")))
;; The 'install phase doesn't currently work with multiple features.
(replace 'install
(lambda* (#:key outputs features #:allow-other-keys)
(invoke "cargo" "install" "--offline" "--no-track"
"--path" "." "--root" (assoc-ref outputs "out")
"--features" (string-join features))))
(add-after 'install 'install-more
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))