mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-07-04 15:56:21 +00:00
rosenthal: hugo-bin: Update to 0.115.4.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.115.4. [arguments]<#:phases>: Use libc from build environment. [inputs]: Remove glibc.
This commit is contained in:
parent
4cfd770031
commit
d8a88b3fae
@ -111,7 +111,7 @@ different needs.")
|
|||||||
(define-public hugo-bin
|
(define-public hugo-bin
|
||||||
(package
|
(package
|
||||||
(name "hugo-bin")
|
(name "hugo-bin")
|
||||||
(version "0.115.3")
|
(version "0.115.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
@ -119,7 +119,7 @@ different needs.")
|
|||||||
version "/hugo_extended_" version "_linux-amd64.tar.gz"))
|
version "/hugo_extended_" version "_linux-amd64.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0i56yy77h1d4f36c2b9vlmdr2x6wzq9q3l7sck80wkz9awdjfzhv"))))
|
"0aq5qgbznvyby4mj03s9scpgk3zz3bwzrz6pnv2l1vc2h0c1hf1q"))))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:install-plan #~'(("hugo" "bin/hugo"))
|
(list #:install-plan #~'(("hugo" "bin/hugo"))
|
||||||
@ -127,18 +127,16 @@ different needs.")
|
|||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'strip)
|
(delete 'strip)
|
||||||
(add-after 'install 'patch-elf
|
(add-after 'install 'patch-elf
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((hugo (string-append #$output "/bin/hugo")))
|
(let ((hugo (string-append #$output "/bin/hugo")))
|
||||||
(invoke "patchelf" "--set-interpreter"
|
(invoke "patchelf" "--set-interpreter"
|
||||||
(string-append #$(this-package-input "glibc")
|
(search-input-file inputs #$(glibc-dynamic-linker))
|
||||||
#$(glibc-dynamic-linker))
|
|
||||||
hugo)
|
hugo)
|
||||||
(invoke "patchelf" "--set-rpath"
|
(invoke "patchelf" "--set-rpath"
|
||||||
(string-append #$gcc:lib "/lib")
|
(string-append #$gcc:lib "/lib")
|
||||||
hugo)))))))
|
hugo)))))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(native-inputs (list patchelf))
|
(native-inputs (list patchelf))
|
||||||
(inputs (list glibc))
|
|
||||||
(home-page "https://gohugo.io/")
|
(home-page "https://gohugo.io/")
|
||||||
(synopsis "Static site generator")
|
(synopsis "Static site generator")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user