From a6de0c4c9c3f6642fbf653b1c202a39f53da40e5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 18 Mar 2022 15:28:47 +0100 Subject: gnu: feh, newsboat: Inline top-level reference to 'curl'. These references introduced top-level circular dependencies. Furthermore, they were inaccurate since only CURL_CA_BUNDLE is honored. * gnu/packages/image-viewers.scm (feh)[native-search-paths]: Remove top-level reference to 'curl'; inline "CURL_CA_BUNDLE" spec. * gnu/packages/syndication.scm (newsboat)[native-search-paths]: Likewise. --- gnu/packages/image-viewers.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages/image-viewers.scm') diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 6c5d70032d..6ab6cf3307 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -287,7 +287,11 @@ YouTube videos without requiring API and opens/downloads them using mpv/ytdl.") (native-search-paths ;; Feh allows overriding the libcurl builtin CA path (unset in Guix) ;; with the same variable as the `curl` command line HTTP tool. - (package-native-search-paths curl)) + (list (search-path-specification + (variable "CURL_CA_BUNDLE") + (file-type 'regular) + (separator #f) ;single entry + (files '("etc/ssl/certs/ca-certificates.crt"))))) (synopsis "Fast and light imlib2-based image viewer") (description "feh is an X11 image viewer aimed mostly at console users. -- cgit v1.2.3