summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-06 14:46:11 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-07 01:26:25 +0200
commit4e7cb241188cf9f213d5fbabbabce07d35ca0991 (patch)
tree08bf189d67cdce214a800cf0212e14e1e87c0ac1 /gnu
parentcc681b5657ff7c76ff2a6a43059c4a488110f0f2 (diff)
downloadguix-4e7cb241188cf9f213d5fbabbabce07d35ca0991.tar.gz
gnu: ddcutil: Install pkgconfig file.
* gnu/packages/hardware.scm (ddcutil)[arguments]: Add a phase to install
the missing pkgconfig file.

Change-Id: Icd8c6c19e10c8dc426c5cd5020f0a209f0faa452
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/hardware.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 38c6a68443..59b95ab7c8 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -490,6 +490,14 @@ RGB animations.")
        (sha256
         (base32 "17zrqdz5mzwyccvc5m166yjlbbg9k2m9cwyg0y30h3184p1b2wlq"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'install 'install-missing-pkgconfig-file
+             (lambda _
+               (install-file "ddcutil.pc"
+                             (string-append #$output "/lib/pkgconfig")))))))
     (native-inputs
      (list pkg-config))
     (inputs