diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2021-07-16 17:20:09 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-24 16:23:24 +0200 |
| commit | d468a03a00738bb0742148e056f7a557aae08f2f (patch) | |
| tree | 6f2012c47d4aad57565fb31a1da8b180c699b125 /gnu/packages | |
| parent | 828cfdc47e567d75b4629a7af7afed3a20adcf5a (diff) | |
gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.
This changes some of the remaining uses of this idiom:
(string-append (assoc-ref inputs "LABEL") "FILE")
to one of:
(search-input-file inputs "FILE")
(search-input-directory inputs "FILE")
* gnu/packages/axoloti.scm (axoloti-patcher): Use
'search-input-directory'.
(axoloti-patcher-next): Likewise.
* gnu/packages/bioinformatics.scm (java-picard): Likewise.
* gnu/packages/bootloaders.scm (grub-hybrid): Likewise.
(u-boot-puma-rk3399): Likewise.
(u-boot-rock64-rk3328): Likewise.
(u-boot-firefly-rk3399): Likewise.
(u-boot-rockpro64-rk3399): Likewise.
(u-boot-pinebook-pro-rk3399): Likewise.
* gnu/packages/cran.scm (r-shiny): Likewise.
(r-shinytree): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Likewise.
(emacs-rime): Likewise.
* gnu/packages/emulators.scm (dolphin-emu): Likewise.
* gnu/packages/games.scm (bsd-games): Likewise.
(seahorse-adventures): Likewise.
(einstein): Likewise.
* gnu/packages/gimp.scm (gimp-fourier): Likewise.
* gnu/packages/gnome.scm (gspell): Likewise.
* gnu/packages/guile-xyz.scm (guile-libyaml): Likewise.
* gnu/packages/java.scm (icedtea-7): Likewise.
* gnu/packages/language.scm (nimf): Likewise.
* gnu/packages/lxde.scm (spacefm): Likewise.
* gnu/packages/mail.scm (claws-mail): Likewise.
* gnu/packages/netpbm.scm (netpbm): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/scheme.scm (scm): Likewise.
* gnu/packages/security-token.scm (python-fido2): Likewise.
* gnu/packages/syndication.scm (rtv): Likewise.
* gnu/packages/tls.scm (acme-client): Likewise.
* gnu/packages/web.scm (netsurf): Likewise.
* gnu/packages/wine.scm (wine-staging): Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets): Likewise.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/axoloti.scm | 8 | ||||
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 5 | ||||
| -rw-r--r-- | gnu/packages/bootloaders.scm | 29 | ||||
| -rw-r--r-- | gnu/packages/cran.scm | 20 | ||||
| -rw-r--r-- | gnu/packages/education.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 15 | ||||
| -rw-r--r-- | gnu/packages/emulators.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/games.scm | 13 | ||||
| -rw-r--r-- | gnu/packages/gimp.scm | 6 | ||||
| -rw-r--r-- | gnu/packages/gnome.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/guile-xyz.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/java.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/language.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/llvm.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/lxde.scm | 5 | ||||
| -rw-r--r-- | gnu/packages/mail.scm | 6 | ||||
| -rw-r--r-- | gnu/packages/netpbm.scm | 5 | ||||
| -rw-r--r-- | gnu/packages/networking.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/python.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/scheme.scm | 8 | ||||
| -rw-r--r-- | gnu/packages/security-token.scm | 11 | ||||
| -rw-r--r-- | gnu/packages/syndication.scm | 5 | ||||
| -rw-r--r-- | gnu/packages/tls.scm | 3 | ||||
| -rw-r--r-- | gnu/packages/web.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/wine.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/wxwidgets.scm | 3 |
26 files changed, 81 insertions, 100 deletions
diff --git a/gnu/packages/axoloti.scm b/gnu/packages/axoloti.scm index c6dd7487739..411ebbc6102 100644 --- a/gnu/packages/axoloti.scm +++ b/gnu/packages/axoloti.scm | |||
| @@ -318,8 +318,8 @@ runtime.") | |||
| 318 | (lambda () | 318 | (lambda () |
| 319 | (let* ((dir (string-append (assoc-ref outputs "out") | 319 | (let* ((dir (string-append (assoc-ref outputs "out") |
| 320 | "/share/axoloti")) | 320 | "/share/axoloti")) |
| 321 | (runtime (string-append (assoc-ref inputs "axoloti-runtime") | 321 | (runtime (search-input-directory inputs |
| 322 | "/share/axoloti")) | 322 | "share/axoloti")) |
| 323 | (toolchain (assoc-ref inputs "cross-toolchain")) | 323 | (toolchain (assoc-ref inputs "cross-toolchain")) |
| 324 | (includes (string-append | 324 | (includes (string-append |
| 325 | toolchain | 325 | toolchain |
| @@ -530,8 +530,8 @@ patcher application."))) | |||
| 530 | ;; Install old firmware | 530 | ;; Install old firmware |
| 531 | (let ((target (string-append share "/old_firmware/firmware-1.0.12")) | 531 | (let ((target (string-append share "/old_firmware/firmware-1.0.12")) |
| 532 | (old-firmware | 532 | (old-firmware |
| 533 | (string-append (assoc-ref inputs "axoloti-runtime") | 533 | (search-input-directory inputs |
| 534 | "/share/axoloti/firmware/"))) | 534 | "share/axoloti/firmware"))) |
| 535 | (mkdir-p target) | 535 | (mkdir-p target) |
| 536 | (install-file (string-append old-firmware | 536 | (install-file (string-append old-firmware |
| 537 | "flasher/flasher_build/flasher.bin") | 537 | "flasher/flasher_build/flasher.bin") |
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1719cf86ae6..002b417b542 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -4222,9 +4222,8 @@ manipulating HTS data.") | |||
| 4222 | (lambda* (#:key inputs #:allow-other-keys) | 4222 | (lambda* (#:key inputs #:allow-other-keys) |
| 4223 | (substitute* "build.xml" | 4223 | (substitute* "build.xml" |
| 4224 | (("\\$\\{htsjdk\\}/lib") | 4224 | (("\\$\\{htsjdk\\}/lib") |
| 4225 | (string-append (assoc-ref inputs "java-htsjdk") | 4225 | (search-input-directory inputs |
| 4226 | "/share/java/htsjdk/"))) | 4226 | "share/java/htsjdk"))))) |
| 4227 | #t)) | ||
| 4228 | (add-after 'unpack 'make-test-target-independent | 4227 | (add-after 'unpack 'make-test-target-independent |
| 4229 | (lambda* (#:key inputs #:allow-other-keys) | 4228 | (lambda* (#:key inputs #:allow-other-keys) |
| 4230 | (substitute* "build.xml" | 4229 | (substitute* "build.xml" |
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 61f0c14d9cb..b4bf72224a6 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm | |||
| @@ -351,8 +351,8 @@ menu to select one of the installed operating systems.") | |||
| 351 | `(modify-phases ,phases | 351 | `(modify-phases ,phases |
| 352 | (add-after 'install 'install-non-efi | 352 | (add-after 'install 'install-non-efi |
| 353 | (lambda* (#:key inputs outputs #:allow-other-keys) | 353 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 354 | (let ((input-dir (string-append (assoc-ref inputs "grub") | 354 | (let ((input-dir (search-input-directory inputs |
| 355 | "/lib/grub")) | 355 | "/lib/grub")) |
| 356 | (output-dir (string-append (assoc-ref outputs "out") | 356 | (output-dir (string-append (assoc-ref outputs "out") |
| 357 | "/lib/grub"))) | 357 | "/lib/grub"))) |
| 358 | (for-each | 358 | (for-each |
| @@ -852,9 +852,8 @@ to Novena upstream, does not load u-boot.img from the first partition.") | |||
| 852 | `(modify-phases ,phases | 852 | `(modify-phases ,phases |
| 853 | (add-after 'unpack 'set-environment | 853 | (add-after 'unpack 'set-environment |
| 854 | (lambda* (#:key inputs #:allow-other-keys) | 854 | (lambda* (#:key inputs #:allow-other-keys) |
| 855 | (setenv "BL31" (string-append (assoc-ref inputs "firmware") | 855 | (setenv "BL31" |
| 856 | "/bl31.elf")) | 856 | (search-input-file inputs "/bl31.elf")))) |
| 857 | #t)) | ||
| 858 | ;; Phases do not succeed on the bl31 ELF. | 857 | ;; Phases do not succeed on the bl31 ELF. |
| 859 | (delete 'strip) | 858 | (delete 'strip) |
| 860 | (delete 'validate-runpath))))) | 859 | (delete 'validate-runpath))))) |
| @@ -894,10 +893,8 @@ to Novena upstream, does not load u-boot.img from the first partition.") | |||
| 894 | `(modify-phases ,phases | 893 | `(modify-phases ,phases |
| 895 | (add-after 'unpack 'set-environment | 894 | (add-after 'unpack 'set-environment |
| 896 | (lambda* (#:key inputs #:allow-other-keys) | 895 | (lambda* (#:key inputs #:allow-other-keys) |
| 897 | (let ((bl31 (string-append (assoc-ref inputs "firmware") | 896 | (let ((bl31 (search-input-file inputs "/bl31.elf"))) |
| 898 | "/bl31.elf"))) | 897 | (setenv "BL31" bl31)))))))) |
| 899 | (setenv "BL31" bl31)) | ||
| 900 | #t)))))) | ||
| 901 | (native-inputs | 898 | (native-inputs |
| 902 | `(("firmware" ,arm-trusted-firmware-rk3328) | 899 | `(("firmware" ,arm-trusted-firmware-rk3328) |
| 903 | ,@(package-native-inputs base)))))) | 900 | ,@(package-native-inputs base)))))) |
| @@ -912,9 +909,7 @@ to Novena upstream, does not load u-boot.img from the first partition.") | |||
| 912 | `(modify-phases ,phases | 909 | `(modify-phases ,phases |
| 913 | (add-after 'unpack 'set-environment | 910 | (add-after 'unpack 'set-environment |
| 914 | (lambda* (#:key inputs #:allow-other-keys) | 911 | (lambda* (#:key inputs #:allow-other-keys) |
| 915 | (setenv "BL31" (string-append (assoc-ref inputs "firmware") | 912 | (setenv "BL31" (search-input-file inputs "/bl31.elf")))) |
| 916 | "/bl31.elf")) | ||
| 917 | #t)) | ||
| 918 | ;; Phases do not succeed on the bl31 ELF. | 913 | ;; Phases do not succeed on the bl31 ELF. |
| 919 | (delete 'strip) | 914 | (delete 'strip) |
| 920 | (delete 'validate-runpath))))) | 915 | (delete 'validate-runpath))))) |
| @@ -932,9 +927,8 @@ to Novena upstream, does not load u-boot.img from the first partition.") | |||
| 932 | `(modify-phases ,phases | 927 | `(modify-phases ,phases |
| 933 | (add-after 'patch-rockpro64-config 'set-environment | 928 | (add-after 'patch-rockpro64-config 'set-environment |
| 934 | (lambda* (#:key inputs #:allow-other-keys) | 929 | (lambda* (#:key inputs #:allow-other-keys) |
| 935 | (setenv "BL31" (string-append (assoc-ref inputs "firmware") | 930 | (setenv "BL31" |
| 936 | "/bl31.elf")) | 931 | (search-input-file inputs "/bl31.elf")))) |
| 937 | #t)) | ||
| 938 | ;; Phases do not succeed on the bl31 ELF. | 932 | ;; Phases do not succeed on the bl31 ELF. |
| 939 | (delete 'strip) | 933 | (delete 'strip) |
| 940 | (delete 'validate-runpath))))) | 934 | (delete 'validate-runpath))))) |
| @@ -954,9 +948,8 @@ to Novena upstream, does not load u-boot.img from the first partition.") | |||
| 954 | `(modify-phases ,phases | 948 | `(modify-phases ,phases |
| 955 | (add-after 'unpack 'set-environment | 949 | (add-after 'unpack 'set-environment |
| 956 | (lambda* (#:key inputs #:allow-other-keys) | 950 | (lambda* (#:key inputs #:allow-other-keys) |
| 957 | (setenv "BL31" (string-append (assoc-ref inputs "firmware") | 951 | (setenv "BL31" |
| 958 | "/bl31.elf")) | 952 | (search-input-file inputs "/bl31.elf")))) |
| 959 | #t)) | ||
| 960 | ;; Phases do not succeed on the bl31 ELF. | 953 | ;; Phases do not succeed on the bl31 ELF. |
| 961 | (delete 'strip) | 954 | (delete 'strip) |
| 962 | (delete 'validate-runpath))))) | 955 | (delete 'validate-runpath))))) |
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b4728ac60c6..fcdbf58d654 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm | |||
| @@ -1986,17 +1986,17 @@ previewing themes in real time.") | |||
| 1986 | ;; replace them. | 1986 | ;; replace them. |
| 1987 | (with-directory-excursion "inst/www/shared" | 1987 | (with-directory-excursion "inst/www/shared" |
| 1988 | (replace-file "strftime/strftime-min.js" | 1988 | (replace-file "strftime/strftime-min.js" |
| 1989 | (string-append (assoc-ref inputs "js-strftime") | 1989 | (search-input-file inputs |
| 1990 | "/share/javascript/strftime.min.js")) | 1990 | "/share/javascript/strftime.min.js")) |
| 1991 | (replace-file "highlight/highlight.pack.js" | 1991 | (replace-file "highlight/highlight.pack.js" |
| 1992 | (string-append (assoc-ref inputs "js-highlight") | 1992 | (search-input-file inputs |
| 1993 | "/share/javascript/highlight.min.js")) | 1993 | "/share/javascript/highlight.min.js")) |
| 1994 | (replace-file "datatables/js/jquery.dataTables.min.js" | 1994 | (replace-file "datatables/js/jquery.dataTables.min.js" |
| 1995 | (string-append (assoc-ref inputs "js-datatables") | 1995 | (search-input-file inputs |
| 1996 | "/share/javascript/jquery.dataTables.min.js")) | 1996 | "/share/javascript/jquery.dataTables.min.js")) |
| 1997 | (replace-file "selectize/js/selectize.min.js" | 1997 | (replace-file "selectize/js/selectize.min.js" |
| 1998 | (string-append (assoc-ref inputs "js-selectize") | 1998 | (search-input-file inputs |
| 1999 | "/share/javascript/selectize.min.js")) | 1999 | "/share/javascript/selectize.min.js")) |
| 2000 | (for-each (match-lambda | 2000 | (for-each (match-lambda |
| 2001 | ((source . target) | 2001 | ((source . target) |
| 2002 | (minify source #:target target))) | 2002 | (minify source #:target target))) |
| @@ -2100,8 +2100,8 @@ responsive, and powerful applications with minimal effort.") | |||
| 2100 | (add-after 'unpack 'replace-minified-javascript | 2100 | (add-after 'unpack 'replace-minified-javascript |
| 2101 | (lambda* (#:key inputs #:allow-other-keys) | 2101 | (lambda* (#:key inputs #:allow-other-keys) |
| 2102 | (with-directory-excursion "inst/www/jsTree-3.3.7/" | 2102 | (with-directory-excursion "inst/www/jsTree-3.3.7/" |
| 2103 | (symlink (string-append (assoc-ref inputs "js-requirejs") | 2103 | (symlink (search-input-file inputs |
| 2104 | "/share/javascript/require.min.js") | 2104 | "/share/javascript/require.min.js") |
| 2105 | "libs/require.js") | 2105 | "libs/require.js") |
| 2106 | (call-with-values | 2106 | (call-with-values |
| 2107 | (lambda () | 2107 | (lambda () |
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index d21c8ea7daa..4fee50e5ff7 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm | |||
| @@ -867,8 +867,8 @@ stored and user can review his performance in any time.") | |||
| 867 | (string-prefix? "python-" label))) | 867 | (string-prefix? "python-" label))) |
| 868 | inputs))) | 868 | inputs))) |
| 869 | (qtwebengineprocess | 869 | (qtwebengineprocess |
| 870 | (string-append (assoc-ref inputs "qtwebengine") | 870 | (search-input-file inputs |
| 871 | "/lib/qt5/libexec/QtWebEngineProcess"))) | 871 | "lib/qt5/libexec/QtWebEngineProcess"))) |
| 872 | ;; The program fails to find the QtWebEngineProcess program, so | 872 | ;; The program fails to find the QtWebEngineProcess program, so |
| 873 | ;; we set QTWEBENGINEPROCESS_PATH to help it. PYTHONPATH is | 873 | ;; we set QTWEBENGINEPROCESS_PATH to help it. PYTHONPATH is |
| 874 | ;; wrapped to avoid declaring Python libraries as propagated | 874 | ;; wrapped to avoid declaring Python libraries as propagated |
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 973d944a9c1..e92bf6bd4b3 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm | |||
| @@ -5512,11 +5512,11 @@ for Flow files.") | |||
| 5512 | (make-file-writable "flycheck-grammalecte.el") | 5512 | (make-file-writable "flycheck-grammalecte.el") |
| 5513 | (emacs-substitute-variables "flycheck-grammalecte.el" | 5513 | (emacs-substitute-variables "flycheck-grammalecte.el" |
| 5514 | ("flycheck-grammalecte-grammalecte-directory" | 5514 | ("flycheck-grammalecte-grammalecte-directory" |
| 5515 | (string-append (assoc-ref inputs "grammalecte") | 5515 | (search-input-directory |
| 5516 | "/lib/python" | 5516 | inputs |
| 5517 | ,(version-major+minor (package-version python)) | 5517 | (string-append "lib/python" |
| 5518 | "/site-packages/grammalecte"))) | 5518 | ,(version-major+minor (package-version python)) |
| 5519 | #t)) | 5519 | "/site-packages/grammalecte")))))) |
| 5520 | (add-after 'unpack 'do-not-phone-home | 5520 | (add-after 'unpack 'do-not-phone-home |
| 5521 | ;; The package wants to check upstream Grammalecte version to | 5521 | ;; The package wants to check upstream Grammalecte version to |
| 5522 | ;; decide if an update is in order. Always return version | 5522 | ;; decide if an update is in order. Always return version |
| @@ -26613,9 +26613,8 @@ REPL appropriate to the current major mode.") | |||
| 26613 | (make-file-writable "rime.el") | 26613 | (make-file-writable "rime.el") |
| 26614 | (emacs-substitute-variables "rime.el" | 26614 | (emacs-substitute-variables "rime.el" |
| 26615 | ("rime-share-data-dir" | 26615 | ("rime-share-data-dir" |
| 26616 | (string-append (assoc-ref inputs "rime-data") | 26616 | (search-input-directory inputs |
| 26617 | "/share/rime-data"))) | 26617 | "share/rime-data"))))) |
| 26618 | #t)) | ||
| 26619 | (add-before 'install 'build-emacs-module | 26618 | (add-before 'install 'build-emacs-module |
| 26620 | (lambda _ | 26619 | (lambda _ |
| 26621 | (invoke "make" "lib")))))) | 26620 | (invoke "make" "lib")))))) |
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 2394342d26f..dcda07d4a44 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm | |||
| @@ -283,8 +283,8 @@ console.") | |||
| 283 | (add-before 'configure 'generate-fonts&hardcore-libvulkan-path | 283 | (add-before 'configure 'generate-fonts&hardcore-libvulkan-path |
| 284 | (lambda* (#:key inputs outputs #:allow-other-keys) | 284 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 285 | (let ((fontfile | 285 | (let ((fontfile |
| 286 | (string-append (assoc-ref inputs "font-wqy-microhei") | 286 | (search-input-file inputs |
| 287 | "/share/fonts/truetype/wqy-microhei.ttc")) | 287 | "/share/fonts/truetype/wqy-microhei.ttc")) |
| 288 | (libvulkan | 288 | (libvulkan |
| 289 | (search-input-file inputs "/lib/libvulkan.so"))) | 289 | (search-input-file inputs "/lib/libvulkan.so"))) |
| 290 | (chdir "docs") | 290 | (chdir "docs") |
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 38b5782547f..2c8b3c083f1 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net> | 5 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Eric Bavier <bavier@posteo.net> |
| 6 | ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com> | 6 | ;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com> |
| 7 | ;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net> | 7 | ;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net> |
| 8 | ;;; Copyright © 2014, 2015, 2018, 2019 Ludovic Courtès <ludo@gnu.org> | 8 | ;;; Copyright © 2014, 2015, 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org> |
| 9 | ;;; Copyright © 2014, 2015, 2016 Sou Bunnbu <iyzsong@gmail.com> | 9 | ;;; Copyright © 2014, 2015, 2016 Sou Bunnbu <iyzsong@gmail.com> |
| 10 | ;;; Copyright © 2014, 2015, 2019 Mark H Weaver <mhw@netris.org> | 10 | ;;; Copyright © 2014, 2015, 2019 Mark H Weaver <mhw@netris.org> |
| 11 | ;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr> | 11 | ;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr> |
| @@ -678,8 +678,7 @@ possible, while battling many vicious aliens.") | |||
| 678 | (bin (string-append out "/bin")) | 678 | (bin (string-append out "/bin")) |
| 679 | (doc (string-append out "/share/doc/bsd-games-" ,version)) | 679 | (doc (string-append out "/share/doc/bsd-games-" ,version)) |
| 680 | (man (string-append out "/share/man")) | 680 | (man (string-append out "/share/man")) |
| 681 | (word-list (string-append (assoc-ref inputs "miscfiles") | 681 | (word-list (search-input-file inputs "/share/web2")) |
| 682 | "/share/web2")) | ||
| 683 | (static-data (string-append out "/share/games/bsd-games")) | 682 | (static-data (string-append out "/share/games/bsd-games")) |
| 684 | ;; Not a "./" because of substitute* in 'patch-install | 683 | ;; Not a "./" because of substitute* in 'patch-install |
| 685 | ;; below. The .// allow us not to mess with the games' | 684 | ;; below. The .// allow us not to mess with the games' |
| @@ -2346,8 +2345,8 @@ can be explored and changed freely.") | |||
| 2346 | (lambda* (#:key outputs inputs #:allow-other-keys) | 2345 | (lambda* (#:key outputs inputs #:allow-other-keys) |
| 2347 | (let* ((out (assoc-ref outputs "out")) | 2346 | (let* ((out (assoc-ref outputs "out")) |
| 2348 | (data (string-append out "/share/seahorse-adventures")) | 2347 | (data (string-append out "/share/seahorse-adventures")) |
| 2349 | (vera (string-append (assoc-ref inputs "font-bitstream-vera") | 2348 | (vera (search-input-file |
| 2350 | "/share/fonts/truetype/Vera.ttf"))) | 2349 | inputs "/share/fonts/truetype/Vera.ttf"))) |
| 2351 | (let ((themes-dir (string-append data "/data/themes/"))) | 2350 | (let ((themes-dir (string-append data "/data/themes/"))) |
| 2352 | (for-each | 2351 | (for-each |
| 2353 | (lambda (theme) | 2352 | (lambda (theme) |
| @@ -4772,8 +4771,8 @@ players.") | |||
| 4772 | (replace 'configure | 4771 | (replace 'configure |
| 4773 | (lambda* (#:key outputs inputs #:allow-other-keys) | 4772 | (lambda* (#:key outputs inputs #:allow-other-keys) |
| 4774 | (let ((out (assoc-ref outputs "out")) | 4773 | (let ((out (assoc-ref outputs "out")) |
| 4775 | (dejavu (string-append (assoc-ref inputs "font-dejavu") | 4774 | (dejavu (search-input-file |
| 4776 | "/share/fonts/truetype/DejaVuSans.ttf"))) | 4775 | inputs "/share/fonts/truetype/DejaVuSans.ttf"))) |
| 4777 | (substitute* "Makefile" | 4776 | (substitute* "Makefile" |
| 4778 | (("PREFIX=/usr/local") (string-append "PREFIX=" out))) | 4777 | (("PREFIX=/usr/local") (string-append "PREFIX=" out))) |
| 4779 | ;; The patch above registers a free font for use by the binary, | 4778 | ;; The patch above registers a free font for use by the binary, |
diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index a0490e54212..81c56946ad5 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2014, 2015, 2021 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net> | 3 | ;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net> |
| 4 | ;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il> | 4 | ;;; Copyright © 2016, 2017, 2018, 2020 Efraim Flashner <efraim@flashner.co.il> |
| 5 | ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 5 | ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| @@ -367,8 +367,8 @@ that is extensible via a plugin system.") | |||
| 367 | (replace 'configure | 367 | (replace 'configure |
| 368 | (lambda* (#:key inputs #:allow-other-keys) | 368 | (lambda* (#:key inputs #:allow-other-keys) |
| 369 | (mkdir-p "tmppkgconfig") | 369 | (mkdir-p "tmppkgconfig") |
| 370 | (copy-file (string-append (assoc-ref inputs "gegl") | 370 | (copy-file (search-input-file inputs |
| 371 | "/lib/pkgconfig/gegl-0.4.pc") | 371 | "/lib/pkgconfig/gegl-0.4.pc") |
| 372 | "tmppkgconfig/gegl-0.3.pc") | 372 | "tmppkgconfig/gegl-0.3.pc") |
| 373 | (setenv "PKG_CONFIG_PATH" | 373 | (setenv "PKG_CONFIG_PATH" |
| 374 | (string-append "tmppkgconfig:" | 374 | (string-append "tmppkgconfig:" |
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 24c5adc44a8..de5ec66ccc4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm | |||
| @@ -10196,9 +10196,7 @@ that support the Assistive Technology Service Provider Interface (AT-SPI).") | |||
| 10196 | ;; Allow Enchant and its Aspell backend to find the en_US | 10196 | ;; Allow Enchant and its Aspell backend to find the en_US |
| 10197 | ;; dictionary. | 10197 | ;; dictionary. |
| 10198 | (setenv "ASPELL_DICT_DIR" | 10198 | (setenv "ASPELL_DICT_DIR" |
| 10199 | (string-append (assoc-ref inputs "aspell-dict-en") | 10199 | (search-input-directory inputs "/lib/aspell"))))))) |
| 10200 | "/lib/aspell")) | ||
| 10201 | #t))))) | ||
| 10202 | (inputs | 10200 | (inputs |
| 10203 | `(("gtk+" ,gtk+) | 10201 | `(("gtk+" ,gtk+) |
| 10204 | ("glib" ,glib) | 10202 | ("glib" ,glib) |
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 78f77d25473..7e4d6251c18 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm | |||
| @@ -4671,8 +4671,8 @@ schedulers.") | |||
| 4671 | "yaml/libyaml.scm" | 4671 | "yaml/libyaml.scm" |
| 4672 | ;; This file is mismatched with the generated FFI code. | 4672 | ;; This file is mismatched with the generated FFI code. |
| 4673 | "yaml/ffi-help-rt.scm")) | 4673 | "yaml/ffi-help-rt.scm")) |
| 4674 | (copy-file (string-append (assoc-ref inputs "nyacc") | 4674 | (copy-file (search-input-file |
| 4675 | "/share/guile/site/3.0/system/ffi-help-rt.scm") | 4675 | inputs "/share/guile/site/3.0/system/ffi-help-rt.scm") |
| 4676 | "yaml/ffi-help-rt.scm") | 4676 | "yaml/ffi-help-rt.scm") |
| 4677 | (substitute* "yaml/ffi-help-rt.scm" | 4677 | (substitute* "yaml/ffi-help-rt.scm" |
| 4678 | (("system ffi-help-rt") "yaml ffi-help-rt")) | 4678 | (("system ffi-help-rt") "yaml ffi-help-rt")) |
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index f4a426e5592..6c7e5f9b152 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -1569,8 +1569,8 @@ bootstrapping purposes.") | |||
| 1569 | (add-after 'install 'install-keystore | 1569 | (add-after 'install 'install-keystore |
| 1570 | (lambda* (#:key inputs outputs #:allow-other-keys) | 1570 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 1571 | (let* ((keystore "cacerts") | 1571 | (let* ((keystore "cacerts") |
| 1572 | (certs-dir (string-append (assoc-ref inputs "nss-certs") | 1572 | (certs-dir (search-input-directory inputs |
| 1573 | "/etc/ssl/certs")) | 1573 | "etc/ssl/certs")) |
| 1574 | (keytool (string-append (assoc-ref outputs "jdk") | 1574 | (keytool (string-append (assoc-ref outputs "jdk") |
| 1575 | "/bin/keytool"))) | 1575 | "/bin/keytool"))) |
| 1576 | (define (extract-cert file target) | 1576 | (define (extract-cert file target) |
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 1aa2d5971ea..561c399eebe 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm | |||
| @@ -130,8 +130,7 @@ | |||
| 130 | (lambda* (#:key inputs outputs #:allow-other-keys) | 130 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 131 | (substitute* "configure.ac" | 131 | (substitute* "configure.ac" |
| 132 | (("/usr/share/anthy/anthy.dic") | 132 | (("/usr/share/anthy/anthy.dic") |
| 133 | (string-append (assoc-ref inputs "anthy") | 133 | (search-input-file inputs "/share/anthy/anthy.dic"))) |
| 134 | "/share/anthy/anthy.dic"))) | ||
| 135 | (substitute* "configure.ac" | 134 | (substitute* "configure.ac" |
| 136 | (("/usr/bin:\\$GTK3_LIBDIR/libgtk-3-0") | 135 | (("/usr/bin:\\$GTK3_LIBDIR/libgtk-3-0") |
| 137 | (string-append (assoc-ref inputs "gtk+:bin") | 136 | (string-append (assoc-ref inputs "gtk+:bin") |
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index f39a3ad49d7..4107117c76c 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2014, 2016, 2018 Eric Bavier <bavier@member.fsf.org> | 2 | ;;; Copyright © 2014, 2016, 2018 Eric Bavier <bavier@member.fsf.org> |
| 3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2015, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> | 4 | ;;; Copyright © 2015, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> |
| 5 | ;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com> | 5 | ;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com> |
| 6 | ;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net> | 6 | ;;; Copyright © 2016, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net> |
| 7 | ;;; Copyright © 2017 Roel Janssen <roel@gnu.org> | 7 | ;;; Copyright © 2017 Roel Janssen <roel@gnu.org> |
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index bf32bc09944..7f483cfe1f5 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot> | 6 | ;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot> |
| 7 | ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> | 7 | ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> |
| 8 | ;;; Copyright © 2018 ison <ison@airmail.cc> | 8 | ;;; Copyright © 2018 ison <ison@airmail.cc> |
| 9 | ;;; Copyright © 2018, 2019 Ludovic Courtès <ludo@gnu.org> | 9 | ;;; Copyright © 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org> |
| 10 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> | 10 | ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> |
| 11 | ;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net> | 11 | ;;; Copyright © 2019 Meiyo Peng <meiyo@riseup.net> |
| 12 | ;;; | 12 | ;;; |
| @@ -370,8 +370,7 @@ with freedesktop.org standard.") | |||
| 370 | #t))) | 370 | #t))) |
| 371 | (add-after 'patch-share-dirs 'patch-mime-dirs | 371 | (add-after 'patch-share-dirs 'patch-mime-dirs |
| 372 | (lambda* (#:key inputs #:allow-other-keys) | 372 | (lambda* (#:key inputs #:allow-other-keys) |
| 373 | (let* ((mime (string-append (assoc-ref inputs "shared-mime-info") | 373 | (let* ((mime (search-input-directory inputs "/share/mime"))) |
| 374 | "/share/mime"))) | ||
| 375 | (with-directory-excursion "src" | 374 | (with-directory-excursion "src" |
| 376 | (substitute* '("mime-type/mime-type.c" "ptk/ptk-file-menu.c") | 375 | (substitute* '("mime-type/mime-type.c" "ptk/ptk-file-menu.c") |
| 377 | (("/usr(/local)?/share/mime") mime))) | 376 | (("/usr(/local)?/share/mime") mime))) |
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 496c0d6200e..bdfc432880c 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2014, 2015, 2017, 2020 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2014, 2015, 2017, 2020 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> | 4 | ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> |
| 5 | ;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com> | 5 | ;;; Copyright © 2014 Sou Bunnbu <iyzsong@gmail.com> |
| @@ -1632,8 +1632,8 @@ compresses it.") | |||
| 1632 | (lambda* (#:key inputs #:allow-other-keys) | 1632 | (lambda* (#:key inputs #:allow-other-keys) |
| 1633 | (substitute* "src/procmime.c" | 1633 | (substitute* "src/procmime.c" |
| 1634 | (("/usr/share/mime/globs") | 1634 | (("/usr/share/mime/globs") |
| 1635 | (string-append (assoc-ref inputs "shared-mime-info") | 1635 | (search-input-directory inputs |
| 1636 | "/share/mime/globs")))))))) | 1636 | "/share/mime/globs")))))))) |
| 1637 | (native-inputs | 1637 | (native-inputs |
| 1638 | `(("bison" ,bison) | 1638 | `(("bison" ,bison) |
| 1639 | ;;("docbook-utils" ,docbook-utils) | 1639 | ;;("docbook-utils" ,docbook-utils) |
diff --git a/gnu/packages/netpbm.scm b/gnu/packages/netpbm.scm index 11fe135a17b..5f3dcdb8ea4 100644 --- a/gnu/packages/netpbm.scm +++ b/gnu/packages/netpbm.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> | 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
| 3 | ;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org> | 3 | ;;; Copyright © 2015, 2016, 2021 Ludovic Courtès <ludo@gnu.org> |
| 4 | ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 5 | ;;; | 5 | ;;; |
| 6 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| @@ -132,8 +132,7 @@ | |||
| 132 | (display (string-append "LDFLAGS += -Wl,-rpath=" %output "/lib") f) | 132 | (display (string-append "LDFLAGS += -Wl,-rpath=" %output "/lib") f) |
| 133 | (close-port f)) | 133 | (close-port f)) |
| 134 | 134 | ||
| 135 | (let ((rgb (string-append (assoc-ref inputs "xorg-rgb") | 135 | (let ((rgb (search-input-file inputs "/share/X11/rgb.txt"))) |
| 136 | "/share/X11/rgb.txt"))) | ||
| 137 | (substitute* "config.mk" | 136 | (substitute* "config.mk" |
| 138 | (("/usr/share/netpbm/rgb.txt") rgb)) | 137 | (("/usr/share/netpbm/rgb.txt") rgb)) |
| 139 | 138 | ||
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 64cbec4c08b..71f8388efcc 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm | |||
| @@ -655,8 +655,8 @@ systems with no further dependencies.") | |||
| 655 | (substitute* '("blueman/main/NetConf.py" | 655 | (substitute* '("blueman/main/NetConf.py" |
| 656 | "blueman/main/PPPConnection.py") | 656 | "blueman/main/PPPConnection.py") |
| 657 | (("/usr/sbin/bluetoothd") | 657 | (("/usr/sbin/bluetoothd") |
| 658 | (string-append (assoc-ref inputs "bluez") | 658 | (search-input-directory inputs |
| 659 | "/libexec/bluetooth/bluetoothd")) | 659 | "/libexec/bluetooth/bluetoothd")) |
| 660 | (("/sbin/iptables") | 660 | (("/sbin/iptables") |
| 661 | (search-input-file inputs "/sbin/iptables")) | 661 | (search-input-file inputs "/sbin/iptables")) |
| 662 | (("/usr/sbin/pppd") | 662 | (("/usr/sbin/pppd") |
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index aa6b29df26d..9e637a03d0d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> | 2 | ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> |
| 3 | ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org> | 3 | ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2021 Ludovic Courtès <ludo@gnu.org> |
| 4 | ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr> | 4 | ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr> |
| 5 | ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> | 5 | ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> |
| 6 | ;;; Copyright © 2014, 2017, 2019 Eric Bavier <bavier@member.fsf.org> | 6 | ;;; Copyright © 2014, 2017, 2019 Eric Bavier <bavier@member.fsf.org> |
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index f04aeb86a4a..3a87dad69fc 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2020 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013, 2014, 2015, 2016, 2018, 2020, 2021 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 3 | ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> |
| 4 | ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch> | 4 | ;;; Copyright © 2015, 2016 Federico Beffa <beffa@fbengineering.ch> |
| 5 | ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> | 5 | ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> |
| @@ -621,8 +621,7 @@ utility functions for all standard Scheme implementations.") | |||
| 621 | (replace 'build | 621 | (replace 'build |
| 622 | (lambda* (#:key inputs outputs #:allow-other-keys) | 622 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 623 | (setenv "SCHEME_LIBRARY_PATH" | 623 | (setenv "SCHEME_LIBRARY_PATH" |
| 624 | (string-append (assoc-ref inputs "slib") | 624 | (search-input-directory inputs "lib/slib")) |
| 625 | "/lib/slib/")) | ||
| 626 | (invoke "make" "scmlit" "CC=gcc") | 625 | (invoke "make" "scmlit" "CC=gcc") |
| 627 | (invoke "make" "all"))) | 626 | (invoke "make" "all"))) |
| 628 | (add-after 'install 'post-install | 627 | (add-after 'install 'post-install |
| @@ -632,8 +631,7 @@ utility functions for all standard Scheme implementations.") | |||
| 632 | (delete-file req) | 631 | (delete-file req) |
| 633 | (format (open req (logior O_WRONLY O_CREAT)) | 632 | (format (open req (logior O_WRONLY O_CREAT)) |
| 634 | "(define (library-vicinity) ~s)\n" | 633 | "(define (library-vicinity) ~s)\n" |
| 635 | (string-append (assoc-ref inputs "slib") | 634 | (search-input-directory inputs "lib/slib")) |
| 636 | "/lib/slib/")) | ||
| 637 | 635 | ||
| 638 | ;; We must generate the slibcat file. | 636 | ;; We must generate the slibcat file. |
| 639 | (invoke (string-append out "/bin/scm") | 637 | (invoke (string-append out "/bin/scm") |
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 1d2493dbd53..f722c27cd72 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2014, 2021 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> | 3 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> |
| 4 | ;;; Copyright © 2016 Mike Gerwitz <mtg@gnu.org> | 4 | ;;; Copyright © 2016 Mike Gerwitz <mtg@gnu.org> |
| 5 | ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com> | 5 | ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com> |
| @@ -614,10 +614,11 @@ your existing infrastructure.") | |||
| 614 | (add-after 'unpack 'install-public-suffix-list | 614 | (add-after 'unpack 'install-public-suffix-list |
| 615 | (lambda* (#:key inputs #:allow-other-keys) | 615 | (lambda* (#:key inputs #:allow-other-keys) |
| 616 | (copy-file | 616 | (copy-file |
| 617 | (string-append (assoc-ref inputs "public-suffix-list") | 617 | (search-input-file inputs |
| 618 | "/share/public-suffix-list-" | 618 | (string-append |
| 619 | ,(package-version public-suffix-list) | 619 | "/share/public-suffix-list-" |
| 620 | "/public_suffix_list.dat") | 620 | ,(package-version public-suffix-list) |
| 621 | "/public_suffix_list.dat")) | ||
| 621 | "fido2/public_suffix_list.dat") | 622 | "fido2/public_suffix_list.dat") |
| 622 | #t))))) | 623 | #t))))) |
| 623 | (propagated-inputs | 624 | (propagated-inputs |
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 58db7381304..a55f1180f7b 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm | |||
| @@ -434,9 +434,8 @@ a simple interface that makes it easy to organize and browse feeds.") | |||
| 434 | (lambda* (#:key inputs #:allow-other-keys) | 434 | (lambda* (#:key inputs #:allow-other-keys) |
| 435 | (setenv "HOME" (getcwd)) | 435 | (setenv "HOME" (getcwd)) |
| 436 | (setenv "TERM" "linux") | 436 | (setenv "TERM" "linux") |
| 437 | (setenv "TERMINFO" (string-append (assoc-ref inputs "ncurses") | 437 | (setenv "TERMINFO" |
| 438 | "/share/terminfo")) | 438 | (search-input-directory inputs "share/terminfo"))))) |
| 439 | #t))) | ||
| 440 | #:tests? #f)) ; tests fail: _curses.error: nocbreak() returned ERR | 439 | #:tests? #f)) ; tests fail: _curses.error: nocbreak() returned ERR |
| 441 | (propagated-inputs | 440 | (propagated-inputs |
| 442 | `(("python-beautifulsoup4" ,python-beautifulsoup4) | 441 | `(("python-beautifulsoup4" ,python-beautifulsoup4) |
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 58876a408f3..eca20964edd 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm | |||
| @@ -867,8 +867,7 @@ number generator") | |||
| 867 | (modify-phases %standard-phases | 867 | (modify-phases %standard-phases |
| 868 | (add-after 'unpack 'patch-paths | 868 | (add-after 'unpack 'patch-paths |
| 869 | (lambda* (#:key inputs #:allow-other-keys) | 869 | (lambda* (#:key inputs #:allow-other-keys) |
| 870 | (let ((pem (string-append (assoc-ref inputs "libressl") | 870 | (let ((pem (search-input-file inputs "/etc/ssl/cert.pem"))) |
| 871 | "/etc/ssl/cert.pem"))) | ||
| 872 | (substitute* "http.c" | 871 | (substitute* "http.c" |
| 873 | (("/etc/ssl/cert.pem") pem)) | 872 | (("/etc/ssl/cert.pem") pem)) |
| 874 | #t))) | 873 | #t))) |
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index aac6a407ee0..ea3c5e91144 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> | 2 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
| 3 | ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de> | 3 | ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de> |
| 4 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> | 4 | ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> |
| 5 | ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> | 5 | ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> |
| 6 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net> | 6 | ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net> |
| 7 | ;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com> | 7 | ;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com> |
| @@ -5725,7 +5725,7 @@ w3c webidl files and a binding configuration file.") | |||
| 5725 | (lambda* (#:key inputs #:allow-other-keys) | 5725 | (lambda* (#:key inputs #:allow-other-keys) |
| 5726 | (substitute* '("test/bloom.c" "test/hashtable.c") | 5726 | (substitute* '("test/bloom.c" "test/hashtable.c") |
| 5727 | (("/usr/share/dict/words") | 5727 | (("/usr/share/dict/words") |
| 5728 | (string-append (assoc-ref inputs "miscfiles") "/share/web2"))) | 5728 | (search-input-file inputs "/share/web2"))) |
| 5729 | #t)) | 5729 | #t)) |
| 5730 | (add-after 'install 'install-more | 5730 | (add-after 'install 'install-more |
| 5731 | (lambda* (#:key outputs #:allow-other-keys) | 5731 | (lambda* (#:key outputs #:allow-other-keys) |
diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index 5c6d02eec57..d05b5c1b8c9 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm | |||
| @@ -417,10 +417,10 @@ integrate Windows applications into your desktop.") | |||
| 417 | (let* ((out (assoc-ref outputs "out")) | 417 | (let* ((out (assoc-ref outputs "out")) |
| 418 | (icd (string-append out "/share/vulkan/icd.d"))) | 418 | (icd (string-append out "/share/vulkan/icd.d"))) |
| 419 | (mkdir-p icd) | 419 | (mkdir-p icd) |
| 420 | (copy-file (string-append (assoc-ref inputs "mesa") | 420 | (copy-file (search-input-file inputs |
| 421 | "/share/vulkan/icd.d/radeon_icd.i686.json") | 421 | "/share/vulkan/icd.d/radeon_icd.i686.json") |
| 422 | (string-append icd "/radeon_icd.i686.json")) | 422 | (string-append icd "/radeon_icd.i686.json")) |
| 423 | (copy-file (string-append (assoc-ref inputs "mesa") | 423 | (copy-file (search-input-file inputs |
| 424 | "/share/vulkan/icd.d/intel_icd.i686.json") | 424 | "/share/vulkan/icd.d/intel_icd.i686.json") |
| 425 | (string-append icd "/intel_icd.i686.json")) | 425 | (string-append icd "/intel_icd.i686.json")) |
| 426 | (wrap-program (string-append out "/bin/wine-preloader") | 426 | (wrap-program (string-append out "/bin/wine-preloader") |
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm index 15a995462a6..475b5efe150 100644 --- a/gnu/packages/wxwidgets.scm +++ b/gnu/packages/wxwidgets.scm | |||
| @@ -100,8 +100,7 @@ | |||
| 100 | (modify-phases %standard-phases | 100 | (modify-phases %standard-phases |
| 101 | (add-after 'unpack 'refer-to-inputs | 101 | (add-after 'unpack 'refer-to-inputs |
| 102 | (lambda* (#:key inputs #:allow-other-keys) | 102 | (lambda* (#:key inputs #:allow-other-keys) |
| 103 | (let* ((mime (string-append (assoc-ref inputs "shared-mime-info") | 103 | (let* ((mime (search-input-directory inputs "/share/mime"))) |
| 104 | "/share/mime"))) | ||
| 105 | (substitute* "src/unix/utilsx11.cpp" | 104 | (substitute* "src/unix/utilsx11.cpp" |
| 106 | (("wxExecute\\(xdg_open \\+") | 105 | (("wxExecute\\(xdg_open \\+") |
| 107 | (string-append "wxExecute(\"" (which "xdg-open") "\""))) | 106 | (string-append "wxExecute(\"" (which "xdg-open") "\""))) |
