summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilesh Patra <nilesh@riseup.net>2025-11-22 21:49:49 +0530
committerAndreas Enge <andreas@enge.fr>2025-11-23 11:26:20 +0100
commit12197aa0091c042602f07072b775e20ea3fbef3b (patch)
tree3fbf2db46f0acf7a71274d70e59cd858638b40d6
parent27d27707ccb82a0b1757c6c47967778d17a3f451 (diff)
gnu: zola: Explicitly install the binary.
* gnu/packages/rust-apps.scm (zola)[arguments]<#:phases>{install}: Replace by phase copying the executable. Fixes: guix/guix#4371 Change-Id: I9da509650ca80e96c0a41c623eada1ad8a76dafb Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/rust-apps.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 74cf1e7651b..91897b99b85 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -4154,6 +4154,10 @@ and users are in full control of their data and workflow.")
(ice-9 match))
#:phases
#~(modify-phases %standard-phases
+ (replace 'install
+ (lambda _
+ (let ((bin (string-append #$output "/bin")))
+ (install-file "target/release/zola" bin))))
(add-after 'install 'install-completions
(lambda* (#:key native-inputs #:allow-other-keys)
(for-each