guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: MariaDB: Remove input labels.


From: guix-commits
Subject: 04/06: gnu: MariaDB: Remove input labels.
Date: Mon, 21 Nov 2022 03:00:53 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit 11141c5bb7607435eb510e4bf3f0278315ec1a2e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Oct 28 21:58:05 2022 +0200

    gnu: MariaDB: Remove input labels.
    
    * gnu/packages/databases.scm (mariadb)[arguments]: Don't reference OpenSSL 
by
    label.
    [inputs]: Remove labels.
---
 gnu/packages/databases.scm | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 470b2bb38a..e498c5df76 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1058,13 +1058,12 @@ Language.")
                            "--skip-rpl"
                            "--skip-test-list=unstable-tests"))
                  (format #t "test suite not run~%"))))
-         (add-after
-          'install 'post-install
-          (lambda* (#:key inputs outputs #:allow-other-keys)
-            (let* ((out     (assoc-ref outputs "out"))
+         (add-after 'install 'post-install
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out     (assoc-ref outputs "out"))
                    (dev     (assoc-ref outputs "dev"))
                    (lib     (assoc-ref outputs "lib"))
-                   (openssl (assoc-ref inputs "openssl")))
+                   (openssl (dirname (search-input-file inputs 
"lib/libssl.so"))))
               (substitute* (list (string-append out "/bin/mariadb-install-db")
                                  (string-append out "/bin/mysql_install_db"))
                 (("basedir=\"\"")
@@ -1102,20 +1101,20 @@ Language.")
               (substitute* (list (string-append dev "/bin/mysql_config")
                                  (string-append dev 
"/lib/pkgconfig/mariadb.pc"))
                 (("-lssl -lcrypto" all)
-                 (string-append "-L" openssl "/lib " all)))))))))
+                 (string-append "-L" openssl " " all)))))))))
     (native-inputs
      (list bison perl))
     (inputs
-     `(("fmt" ,fmt)
-       ("jemalloc" ,jemalloc)
-       ("libaio" ,libaio)
-       ("libxml2" ,libxml2)
-       ("ncurses" ,ncurses)
-       ("openssl" ,openssl)
-       ("pam" ,linux-pam)
-       ("pcre2" ,pcre2)
-       ("xz" ,xz)
-       ("zlib" ,zlib)))
+     (list fmt
+           jemalloc
+           libaio
+           libxml2
+           ncurses
+           openssl
+           linux-pam
+           pcre2
+           xz
+           zlib))
     ;; The test suite is very resource intensive and can take more than three
     ;; hours on a x86_64 system.  Give slow and busy machines some leeway.
     (properties '((timeout . 64800)))        ;18 hours



reply via email to

[Prev in Thread] Current Thread [Next in Thread]