From c51e6ea2d88b083968da33bf6c14759e9f4c9bd7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 7 Jul 2012 18:40:39 +0200 Subject: build-system/gnu: Set $PKG_CONFIG_PATH. * guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'. --- guix/build/gnu-build-system.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'guix/build/gnu-build-system.scm') 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 @@ (define* (set-paths #:key inputs #:allow-other-keys) (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"))) -- cgit v1.2.3