From db391e87f227c2ff2fcea8b85ad153545aeba990 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 20 Nov 2025 10:43:39 +0200 Subject: [PATCH] gnu: sequoia-sq: Fix build. * gnu/packages/sequoia.scm (sequoia-sq)[arguments]: Replace the 'install phase. Change-Id: I7afafeb2cca4a60f0799c5c789860b771ccf3268 --- gnu/packages/sequoia.scm | 6 ++++++ 1 file changed, 6 insertions(+) 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"))