Subject: [bug#29602] [PATCH] gnu: keepassxc: Always install libraries to /lib.

From: Rutger Helling <[email-masked]>
Date: Thu, 07 Dec 2017 09:27:37 +0100

Here's a patch that makes sure keepassxc installs its libraries in /lib
(instead of /lib64 as in some cases).

From fdfc9dec4761d4868ee20be2efa5cb6175eb745a Mon Sep 17 00:00:00 2001
From: Rutger Helling <[email-masked]>
Date: Thu, 7 Dec 2017 09:21:22 +0100
Subject: [PATCH] gnu: keepassxc: Always install libraries to /lib.

* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add #:configure-flags
argument to force installing libraries to /lib.
---
 gnu/packages/password-utils.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 64168cc9d..ffa152f27 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2017 Eric Bavier <[email-masked]>
 ;;; Copyright © 2017 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <[email-masked]>
+;;; Copyright © 2017 Rutger Helling <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -98,6 +99,10 @@ human.")
         (base32
          "0wrl8kxb16wzdgfjj057yv18cfg0b8z8lxp1fl2q8fkdgr7phm9g"))))
     (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "-DCMAKE_INSTALL_LIBDIR="
+                            (assoc-ref %outputs "out") "/lib"))))
     (inputs
      `(("libgcrypt" ,libgcrypt)
        ("libxi" ,libxi)
-- 
2.15.1