guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 313e205acd6f087b8d07ccc71146930143f3e3ea
Author: Acid Bong <[email protected]>
AuthorDate: Sat Feb 7 18:18:38 2026 +0000
gnu: xwallpaper: Fix cross-compilation
* gnu/packages/xdisorg.scm (xwallpaper): Substitute system-specific
pkg-config executable in the bootstrap file.
Change-Id: Ia58bd642447e49b7f3a1baddcf4b955f14297a23
Signed-off-by: Ludovic Courtès <[email protected]>
Merges: #6210
---
gnu/packages/xdisorg.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 33733c6af7..45067e8344 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -3497,6 +3497,15 @@ support such as Xfce.")
(sha256
(base32 "1hqc5z4qgfl8s2wzg1f9nq3ww2xg0vihdahhprjpmj9lgla50m7i"))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cross-compile
+ (lambda _
+ (substitute* "autogen.sh"
+ (("pkg-config")
+ #$(pkg-config-for-target))))))))
(native-inputs
(list autoconf automake pkg-config))
(inputs