mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-09-18 12:44:37 +00:00
rosenthal: hugo-bin: Reference libraries from inputs.
See (guix build-system copy), `copy-build' only passes native-inputs to #:inputs... * rosenthal/packages/binaries.scm (hugo-bin)[#:phases]<patch-elf>: Use `this-package-input' instead of `search-input-file'.
This commit is contained in:
parent
9b8194cc7f
commit
47c14d4cd5
@ -130,11 +130,13 @@ different needs.")
|
|||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(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"
|
||||||
(search-input-file inputs #$(glibc-dynamic-linker))
|
(string-append #$(this-package-input "glibc")
|
||||||
|
#$(glibc-dynamic-linker))
|
||||||
hugo)
|
hugo)
|
||||||
(invoke "patchelf" "--set-rpath"
|
(invoke "patchelf" "--set-rpath"
|
||||||
(dirname (search-input-file
|
(string-append (ungexp (this-package-input "gcc")
|
||||||
inputs "/lib/libgcc_s.so.1"))
|
"lib")
|
||||||
|
"/lib")
|
||||||
hugo)))))))
|
hugo)))))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(native-inputs (list patchelf))
|
(native-inputs (list patchelf))
|
||||||
|
Loading…
Reference in New Issue
Block a user