aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-08-04 12:26:24 -0300
committerEuAndreh <eu@euandre.org>2023-08-04 12:26:24 -0300
commit9637ea081cc49d96e4de2a5783784e94b0b2061d (patch)
tree94ba9419229b44e3edaceb6454a57875f58026eb
parentetc/guix/home.scm: Revert back to upstream "curl" package (diff)
downloaddotfiles-9637ea081cc49d96e4de2a5783784e94b0b2061d.tar.gz
dotfiles-9637ea081cc49d96e4de2a5783784e94b0b2061d.tar.xz
Revert "etc/guix/home.scm: Revert back to upstream "curl" package"
This reverts commit 53e39a3a8cd3423ff902af241a6c1cf37d2aba09.
-rw-r--r--etc/guix/home.scm15
1 files changed, 13 insertions, 2 deletions
diff --git a/etc/guix/home.scm b/etc/guix/home.scm
index 3c1c73b..8650893 100644
--- a/etc/guix/home.scm
+++ b/etc/guix/home.scm
@@ -212,6 +212,18 @@ libraries/software/operating systems
`(("libiconv" ,libiconv)
,@(package-inputs hunspell)))))
+(define-public curl-openssl
+ (package
+ (inherit curl)
+ (arguments
+ (substitute-keyword-arguments (package-arguments curl)
+ ((#:configure-flags flags ''())
+ #~(list (string-append "--with-openssl="
+ (assoc-ref %build-inputs "openssl"))))))
+ (inputs
+ `(("openssl" ,openssl-3.0)
+ ,@(package-inputs curl)))))
+
(define (hunspell-dictionary-utf8 dict-name)
(package
(name (string-append "hunspell-dict-" dict-name "-utf8"))
@@ -350,7 +362,7 @@ libraries/software/operating systems
(define work-packages
(append
- (list)
+ (list curl-openssl)
(map (compose list specification->package+output symbol->string)
'(openfortivpn))))
@@ -520,7 +532,6 @@ libraries/software/operating systems
nixfmt
acl
attr
- curl
;; for compiling ECL
libatomic-ops