Subject: [PATCH v3 6/7] gnu: libosinfo: Use this-package-input.

From: Brendan Tildesley <[email-masked]>
Date: Thu, 10 Mar 2022 20:31:44 +1100

*  gnu/packages/virtualization.scm (libosinfo): [arguments]: Use
this-package-input for osinfo-db to support package-transformations.
---
 gnu/packages/virtualization.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 5756c49b07..10d9bd0de9 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1048,7 +1048,9 @@ (define-public libosinfo
             (lambda* (#:key inputs #:allow-other-keys)
               (substitute* "osinfo/osinfo_loader.c"
                 (("path = DATA_DIR.*")
-                 (string-append "path = \"" #$osinfo-db "/share/osinfo\";"))))))))
+                 (string-append "path = \""
+                                #$(this-package-input "osinfo-db")
+                                "/share/osinfo\";"))))))))
     (inputs
      (list libsoup-minimal-2
            libxml2
-- 
2.34.0