guix: build: Add "share/pkgconfig" to PKG_CONFIG_PATH, as used by xorg.

* guix/build/gnu-build-system.scm (set-paths): Add "share/pkgconfig"
     to PKG_CONFIG_PATH.
This commit is contained in:
Andreas Enge 2013-03-04 10:14:34 +01:00
parent 827d28914a
commit 8689a1908a

View file

@ -73,7 +73,8 @@ (define (relevant-input-directories env-var)
;; FIXME: Eventually move this to the `search-paths' field of the ;; FIXME: Eventually move this to the `search-paths' field of the
;; `pkg-config' package. ;; `pkg-config' package.
(set-path-environment-variable "PKG_CONFIG_PATH" (set-path-environment-variable "PKG_CONFIG_PATH"
'("lib/pkgconfig" "lib64/pkgconfig") '("lib/pkgconfig" "lib64/pkgconfig"
"share/pkgconfig")
(relevant-input-directories "PKG_CONFIG_PATH")) (relevant-input-directories "PKG_CONFIG_PATH"))
;; Dump the environment variables as a shell script, for handy debugging. ;; Dump the environment variables as a shell script, for handy debugging.