mirror of
https://github.com/SqrtMinusOne/channel-q.git
synced 2025-12-10 19:53:03 +03:00
hugo: fix libstdc++
This commit is contained in:
parent
9ed64d6bc6
commit
657c31d6b5
1 changed files with 7 additions and 2 deletions
|
|
@ -6,6 +6,10 @@
|
|||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (nonguix build-system binary))
|
||||
|
||||
(define libstdc++
|
||||
;; Libstdc++ matching the default GCC.
|
||||
(make-libstdc++ gcc))
|
||||
|
||||
(define-public hugo-extended
|
||||
(package
|
||||
(name "hugo-extended")
|
||||
|
|
@ -31,14 +35,15 @@
|
|||
#:install-plan
|
||||
`(("hugo" "/bin/"))
|
||||
#:patchelf-plan
|
||||
`(("hugo" ("libgccjit")))
|
||||
`(("hugo" ("libgccjit" "libstdc++")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'unpack
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(invoke "tar" "-xvzf" (assoc-ref inputs "source")))))))
|
||||
(native-inputs
|
||||
`(("gzip" ,gzip)))
|
||||
`(("gzip" ,gzip)
|
||||
("libstdc++" ,libstdc++)))
|
||||
(synopsis "The world’s fastest framework for building websites.")
|
||||
(description "Hugo is a static HTML and CSS website generator
|
||||
written in Go. It is optimized for speed, ease of use, and
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue