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.
This commit is contained in:
parent
bd2f475ac6
commit
2ee70af7d7
|
@ -23,14 +23,16 @@
|
||||||
((target-arm32?)
|
((target-arm32?)
|
||||||
"arm")
|
"arm")
|
||||||
((target-x86-64?)
|
((target-x86-64?)
|
||||||
"amd64")) ".tar.gz"))
|
"amd64")
|
||||||
|
(else "")) ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 (cond ((target-aarch64?)
|
(base32 (cond ((target-aarch64?)
|
||||||
"1dv2k9j3i3294bl94jhwi645pf5r2143hizxd3xpc3fz8w8cfyy8")
|
"1dv2k9j3i3294bl94jhwi645pf5r2143hizxd3xpc3fz8w8cfyy8")
|
||||||
((target-arm32?)
|
((target-arm32?)
|
||||||
"0f3mirqn3x2lrj7gzjyqklj081y7jfyxww2zkccg9f6jq0vcfcxd")
|
"0f3mirqn3x2lrj7gzjyqklj081y7jfyxww2zkccg9f6jq0vcfcxd")
|
||||||
((target-x86-64?)
|
((target-x86-64?)
|
||||||
"0hs4b3nrr1qajrh7f64ibwjrfipqllvifp526kf2gfxnhpkr67l8"))))))
|
"0hs4b3nrr1qajrh7f64ibwjrfipqllvifp526kf2gfxnhpkr67l8")
|
||||||
|
(else ""))))))
|
||||||
(build-system binary-build-system)
|
(build-system binary-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
|
Loading…
Reference in New Issue
Block a user