mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
build-system/gnu: Set $PKG_CONFIG_PATH.
* guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'.
This commit is contained in:
parent
d7978f46c5
commit
c51e6ea2d8
1 changed files with 6 additions and 0 deletions
|
@ -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")))
|
||||
|
||||
|
|
Loading…
Reference in a new issue