aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index d7ea61e5fb..bc999bf3dc 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -811,8 +811,10 @@ to GitHub contributions calendar.")
,@(if (%current-target-system)
`((string-append
"-DPKG_CONFIG_EXECUTABLE="
- (assoc-ref %build-inputs "pkg-config")
- "/bin/" ,(%current-target-system) "-pkg-config"))
+ (search-input-file
+ %build-inputs
+ (string-append "/bin/" ,(%current-target-system)
+ "-pkg-config"))))
'()))
#:phases
(modify-phases %standard-phases