gnu: libcacard: Explicitly add NSS on RUNPATH.

* gnu/packages/spice.scm (libcacard)[arguments]: New field.
This commit is contained in:
Marius Bakke 2022-09-09 19:19:50 +02:00
parent 50134a2b4a
commit abf21ba578
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

@ -2,7 +2,7 @@
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -47,6 +47,7 @@
#:use-module (guix build-system meson)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils))
@ -340,6 +341,13 @@ resolution scaling on graphical console window resize.")
(base32
"1rrjlclm6ad63gah1fa4yfwrz4z6vgq2yrybbvzvvdbxrgl4vgzv"))))
(build-system meson-build-system)
(arguments
(list #:configure-flags
;; XXX: For some reason NSS is not automatically added on RUNPATH
;; with newer versions of Meson (after 0.60).
#~(list (string-append "-Dc_link_args=-Wl,-rpath="
(search-input-directory
%build-inputs "lib/nss")))))
(propagated-inputs
(list glib ; Requires: in the pkg-config file
nss ; Requires.private: in the pkg-config