mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-05-24 21:15:03 +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)
|
||||
(let ((hugo (string-append #$output "/bin/hugo")))
|
||||
(invoke "patchelf" "--set-interpreter"
|
||||
(search-input-file inputs #$(glibc-dynamic-linker))
|
||||
(string-append #$(this-package-input "glibc")
|
||||
#$(glibc-dynamic-linker))
|
||||
hugo)
|
||||
(invoke "patchelf" "--set-rpath"
|
||||
(dirname (search-input-file
|
||||
inputs "/lib/libgcc_s.so.1"))
|
||||
(string-append (ungexp (this-package-input "gcc")
|
||||
"lib")
|
||||
"/lib")
|
||||
hugo)))))))
|
||||
(supported-systems '("x86_64-linux"))
|
||||
(native-inputs (list patchelf))
|
||||
|
Loading…
Reference in New Issue
Block a user