summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sequoia.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm
index 4dfa48bca30..7beace2f906 100644
--- a/gnu/packages/sequoia.scm
+++ b/gnu/packages/sequoia.scm
@@ -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"))