aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
Diffstat (limited to 'guix')
-rw-r--r--guix/build/gnu-build-system.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index d59b9408a8..0790c39256 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -52,6 +52,12 @@
(set-path-environment-variable "CPATH" '("include") inputs)
(set-path-environment-variable "LIBRARY_PATH" '("lib" "lib64") inputs)
+ ;; FIXME: Eventually move this to the `search-paths' field of the
+ ;; `pkg-config' package.
+ (set-path-environment-variable "PKG_CONFIG_PATH"
+ '("lib/pkgconfig" "lib64/pkgconfig")
+ inputs)
+
;; Dump the environment variables as a shell script, for handy debugging.
(system "export > environment-variables")))