From 47c14d4cd53004770ccf7454698e1b324f3d5aec Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 26 Sep 2023 13:17:19 +0800 Subject: [PATCH] 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]: Use `this-package-input' instead of `search-input-file'. --- rosenthal/packages/binaries.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rosenthal/packages/binaries.scm b/rosenthal/packages/binaries.scm index f547a63..0816227 100644 --- a/rosenthal/packages/binaries.scm +++ b/rosenthal/packages/binaries.scm @@ -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))