diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-03-21 07:02:36 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-03-21 12:37:41 +0100 |
commit | 4b9a5bd990a4c734828571147f9fec01c7053fcc (patch) | |
tree | 2543b66f984c5138128860fa4c9d67e212b8754a /gnu/packages | |
parent | a4f542341511f33ece18d16b68118214da8143ec (diff) | |
download | guix-4b9a5bd990a4c734828571147f9fec01c7053fcc.tar.gz guix-4b9a5bd990a4c734828571147f9fec01c7053fcc.zip |
gnu: kodi: Wrap executable so it finds libcurl.
* gnu/packages/kodi.scm (kodi)[arguments]: Add 'wrap' phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/kodi.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm index d35758ba40..a60e2c0548 100644 --- a/gnu/packages/kodi.scm +++ b/gnu/packages/kodi.scm @@ -339,7 +339,14 @@ generator library for C++.") #t)) (add-before 'check 'build-kodi-test (lambda _ - (zero? (system* "make" "kodi-test"))))))) + (zero? (system* "make" "kodi-test")))) + (add-after 'install 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (curl (string-append (assoc-ref inputs "curl") "/lib"))) + (wrap-program (string-append out "/bin/kodi") + `("LD_LIBRARY_PATH" suffix (,curl))) + #t)))))) ;; TODO: Add dependencies for: ;; - nfs ;; - cec |