diff options
Diffstat (limited to 'gnu/packages/kodi.scm')
-rw-r--r-- | gnu/packages/kodi.scm | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm index 1e50624696..fc8c5b124e 100644 --- a/gnu/packages/kodi.scm +++ b/gnu/packages/kodi.scm @@ -257,10 +257,8 @@ generator library for C++.") (arguments '(#:configure-flags '("SH=sh"))) (native-inputs - `(("ghostscript" ,ghostscript) ; ps2pdf - ("groff" ,groff) - ("libtool" ,libtool) - ("which" ,which))) + (list ghostscript ; ps2pdf + groff libtool which)) (synopsis "fuzzy comparison of strings") (description "The fstrcmp project provides a library that is used to make fuzzy @@ -349,8 +347,7 @@ alternatives. In compilers, this can reduce the cascade of secondary errors.") (substitute* "xbmc/platform/linux/LinuxTimezone.cpp" (("/usr/share/zoneinfo") - (string-append (assoc-ref inputs "tzdata") - "/share/zoneinfo"))) + (search-input-directory inputs "share/zoneinfo"))) ;; Don't phone home to check for updates. (substitute* "system/addon-manifest.xml" @@ -500,9 +497,7 @@ plug-in system.") (file-name (string-append name "-" version "-checkout")))) (build-system trivial-build-system) (inputs - `(("bash" ,bash) - ("curl" ,curl) - ("mps-youtube" ,mps-youtube))) + (list bash curl mps-youtube)) (arguments `(#:modules ((guix build utils)) #:builder @@ -510,8 +505,8 @@ plug-in system.") (use-modules (guix build utils)) (copy-recursively (assoc-ref %build-inputs "source") ".") (substitute* "kodi-cli" - (("/bin/bash") (string-append (assoc-ref %build-inputs "bash") - "/bin/bash")) + (("/bin/bash") + (search-input-file %build-inputs "/bin/bash")) (("output=\\$\\((curl)" all curl) (string-append "output=$(" (assoc-ref %build-inputs "curl") |