summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-11-20 10:43:39 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-11-20 12:13:38 +0200
commitdb391e87f227c2ff2fcea8b85ad153545aeba990 (patch)
tree3ae39e460b6e66890e5ce8630cfbebad5840929f /gnu
parent8ea2113120bb4f9af0db6a2b443340fa7b14fed5 (diff)
gnu: sequoia-sq: Fix build.
* gnu/packages/sequoia.scm (sequoia-sq)[arguments]: Replace the 'install phase. Change-Id: I7afafeb2cca4a60f0799c5c789860b771ccf3268
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"))