[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/15: gnu: hyprlang: Fix cross-compilation.
From: |
guix-commits |
Subject: |
15/15: gnu: hyprlang: Fix cross-compilation. |
Date: |
Thu, 12 Dec 2024 06:54:27 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 9ef5533123bc2394b02fbbeaca1a5f50773b796d
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Tue Dec 10 00:56:26 2024 +0800
gnu: hyprlang: Fix cross-compilation.
* gnu/packages/cpp.scm (hyprlang)[arguments]<#:phases>: Set
PKG_CONFIG_EXECUTABLE in CMakeLists.txt.
Change-Id: Ied775ece2de83f6842bf405be76ce7f33fdce5fe
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/cpp.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index a72f491fd0..4fd5f8fa00 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -678,6 +678,17 @@ library for SIMD (Single Instruction, Multiple Data) with
runtime dispatch.")
(base32
"0yvfrz3hdyxzhngzhr0bgc5279ra5fv01hbfi6pdj84pz0lpaw02"))))
(build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cross-compilation
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("find_package.PkgConfig" all)
+ (string-append
+ "set(PKG_CONFIG_EXECUTABLE " #$(pkg-config-for-target) ")\n"
+ all))))))))
(native-inputs (list gcc-13 pkg-config))
(inputs (list hyprutils))
(home-page "https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang/")
- 09/15: lint: More abbreviations., (continued)
- 09/15: lint: More abbreviations., guix-commits, 2024/12/12
- 10/15: lint: Pre-compile regexp for ‘starts-with-texinfo-markup?’., guix-commits, 2024/12/12
- 11/15: services: cuirass: Run in a UTF-8 locale., guix-commits, 2024/12/12
- 04/15: lint: Refine description start check logic., guix-commits, 2024/12/12
- 02/15: gnu: lapack: Mark as tunable., guix-commits, 2024/12/12
- 05/15: lint: Allow texinfo markup at beginning of description., guix-commits, 2024/12/12
- 06/15: lint: Allow texinfo markup at beginning of synopsis., guix-commits, 2024/12/12
- 12/15: remote: Do not double-quote the repl-command., guix-commits, 2024/12/12
- 14/15: gnu: hyprutils: Fix cross-compilation., guix-commits, 2024/12/12
- 13/15: doc: cookbook: Document postgres upgrade for cuirass., guix-commits, 2024/12/12
- 15/15: gnu: hyprlang: Fix cross-compilation.,
guix-commits <=