diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-06 15:18:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-06 15:23:07 +0200 |
commit | 8079bd3da8eb5c185b447e2e1f89bb42f052f3cf (patch) | |
tree | 0a152eb7e0ef519a28aeeb07353a55dcfe25de43 | |
parent | 4a3f8994f42fbdb601e725bde648a765f70ed783 (diff) | |
download | guix-8079bd3da8eb5c185b447e2e1f89bb42f052f3cf.tar guix-8079bd3da8eb5c185b447e2e1f89bb42f052f3cf.tar.gz |
gnu: tcl-tls: Use a gexp.
* gnu/packages/tcl.scm (tcl-tls)[arguments]: Use a gexp.
-rw-r--r-- | gnu/packages/tcl.scm | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index 9dceee7184..4cbc9d84b4 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -449,18 +449,17 @@ debugging tools.") (inputs (list tcl)) (propagated-inputs (list openssl)) (arguments - '(#:configure-flags - (let ((out (assoc-ref %outputs "out")) - (tcl (assoc-ref %build-inputs "tcl")) - (ssllib (assoc-ref %build-inputs "openssl"))) - (list "--with-ssl=libressl" - (string-append "-with-ssl-dir=" ssllib) - (string-append "--with-tcl=" tcl "/lib") - (string-append "--with-tclinclude=" tcl "/include") - (string-append "--exec-prefix=" out) - (string-append "--mandir=" out "/share/man"))) + (list #:configure-flags + #~(let ((tcl #$(this-package-input "tcl"))) + (list "--with-ssl=libressl" + (string-append "-with-ssl-dir=" + #$(this-package-input "openssl")) + (string-append "--with-tcl=" tcl "/lib") + (string-append "--with-tclinclude=" tcl "/include") + (string-append "--exec-prefix=" #$output) + (string-append "--mandir=" #$output "/share/man"))) - #:test-target "test")) + #:test-target "test")) (search-paths (list (search-path-specification (variable "TCLLIBPATH") |