Message ID | 20210914161025.2511106-1-zimon.toutoune@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#50586] gnu: mysql: Propagate runtime dependencies. | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
zimoun schreef op di 14-09-2021 om 18:10 [+0200]: > @@ -708,6 +710,11 @@ auto-completion and syntax highlighting.") > ("openssl" ,openssl) > ("rpcsvc-proto" ,rpcsvc-proto) ; rpcgen > ("zlib" ,zlib))) > + (propagated-inputs > + ;; Required by 'mysql_config' > + `(("awk" ,gawk) > + ("coreutils" ,coreutils) ;ls,cat > + ("sed" ,sed))) If 'wrap-program' is used on mysql_config to set PATH to the bin directories of awk, coreutils and sed, or 'substitute*' is used to replace 'awk', 'sed' and 'ls' by their absolute paths, then propagation can be avoided. Greetings, Maxime.
Hi Maxime, On Wed, 15 Sept 2021 at 13:43, Maxime Devos <maximedevos@telenet.be> wrote: > If 'wrap-program' is used on mysql_config to set PATH to > the bin directories of awk, coreutils and sed, > or 'substitute*' is used to replace 'awk', 'sed' and 'ls' > by their absolute paths, then propagation can be avoided. Indeed. It is better. :-) Done in v2. Thanks for the review. Cheers, simon
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index c75e1421d5..7e07dbc5e4 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -53,6 +53,7 @@ ;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> ;;; Copyright © 2021 Simon Streit <simon@netpanic.org> ;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org> +;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -90,6 +91,7 @@ #:use-module (gnu packages emacs) #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -708,6 +710,11 @@ auto-completion and syntax highlighting.") ("openssl" ,openssl) ("rpcsvc-proto" ,rpcsvc-proto) ; rpcgen ("zlib" ,zlib))) + (propagated-inputs + ;; Required by 'mysql_config' + `(("awk" ,gawk) + ("coreutils" ,coreutils) ;ls,cat + ("sed" ,sed))) (home-page "https://www.mysql.com/") (synopsis "Fast, easy to use, and popular database") (description