From 657c31d6b587d4df773467a02c163bfff296406c Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sat, 29 Jul 2023 22:44:13 +0300 Subject: [PATCH] hugo: fix libstdc++ --- hugo-extended.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hugo-extended.scm b/hugo-extended.scm index 7dc1015..a1be490 100644 --- a/hugo-extended.scm +++ b/hugo-extended.scm @@ -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