summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkylar "The Cobra" Astaroth <cobra@vern.cc>2025-02-08 22:35:57 -0500
committerHilton Chain <hako@ultrarare.space>2025-02-22 13:57:33 +0800
commit80ea84599035e85ad4ec2e7ed6feaccbf9217eb8 (patch)
tree424a928d9b829a825103e2a5021a5add7ac554ff
parent90599c8b4bff0df910f851d8cab4ad31e3da49cd (diff)
nongnu: hugo: Don't fail on unsupported architectures.
Currently, architectures other than aarch64, arm32, or x86_64 will fail to build the entire nonguix channel derivation due to string-append not accepting the unspecified return value of the `cond` in the hugo package definition. Adding the blank string `else` fixes this issue. * nongnu/packages/hugo.scm (hugo)[source]: Don't fail on unsupported architectures.
-rw-r--r--nongnu/packages/hugo.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/nongnu/packages/hugo.scm b/nongnu/packages/hugo.scm
index d4cab2a..1b11a5b 100644
--- a/nongnu/packages/hugo.scm
+++ b/nongnu/packages/hugo.scm
@@ -23,14 +23,16 @@
23 ((target-arm32?) 23 ((target-arm32?)
24 "arm") 24 "arm")
25 ((target-x86-64?) 25 ((target-x86-64?)
26 "amd64")) ".tar.gz")) 26 "amd64")
27 (else "")) ".tar.gz"))
27 (sha256 28 (sha256
28 (base32 (cond ((target-aarch64?) 29 (base32 (cond ((target-aarch64?)
29 "1dv2k9j3i3294bl94jhwi645pf5r2143hizxd3xpc3fz8w8cfyy8") 30 "1dv2k9j3i3294bl94jhwi645pf5r2143hizxd3xpc3fz8w8cfyy8")
30 ((target-arm32?) 31 ((target-arm32?)
31 "0f3mirqn3x2lrj7gzjyqklj081y7jfyxww2zkccg9f6jq0vcfcxd") 32 "0f3mirqn3x2lrj7gzjyqklj081y7jfyxww2zkccg9f6jq0vcfcxd")
32 ((target-x86-64?) 33 ((target-x86-64?)
33 "0hs4b3nrr1qajrh7f64ibwjrfipqllvifp526kf2gfxnhpkr67l8")))))) 34 "0hs4b3nrr1qajrh7f64ibwjrfipqllvifp526kf2gfxnhpkr67l8")
35 (else ""))))))
34 (build-system binary-build-system) 36 (build-system binary-build-system)
35 (arguments 37 (arguments
36 (list 38 (list