aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-03-07 22:46:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-03-07 22:53:58 +0200
commit027ce78933530020a2b1010a1ae9c73009301bc1 (patch)
treebaf24015fdc21d119790dbceb88bcda404eab78e /gnu/packages
parent54933a4047c388fc3b6331635d80e9516378fc08 (diff)
downloadguix-027ce78933530020a2b1010a1ae9c73009301bc1.tar.gz
guix-027ce78933530020a2b1010a1ae9c73009301bc1.zip
gnu: dtc: Use pkg-config-for-target.
* gnu/packages/bootloaders.scm (dtc)[arguments]: Adjust custom 'patch-pkg-config phase to use pkg-config-for-target.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bootloaders.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index e5504b25eb..7987641031 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -483,10 +483,7 @@ menu to select one of the installed operating systems.")
(substitute* '("Makefile"
"tests/run_tests.sh")
(("pkg-config")
- (or (which "pkg-config")
- (string-append ,(%current-target-system)
- "-pkg-config"))))
- #t))
+ ,(pkg-config-for-target)))))
(delete 'configure)))) ; no configure script
(home-page "https://www.devicetree.org")
(synopsis "Compiles device tree source files")