summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-24 08:45:53 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-24 08:45:53 +0100
commit4e9c98b3636775a3cfa8b7412ada5a45fcbdb8b5 (patch)
tree7de021ea913dbfe586e5196cbb80b114ffb353b8
parent4f8c7da799103c28ad5d4cc914ed413e651adfaa (diff)
komodo: disable unity_build: works around compilation error
-rw-r--r--packages/komodo/komodo.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/komodo/komodo.scm b/packages/komodo/komodo.scm
index 66ced4a..baead0d 100644
--- a/packages/komodo/komodo.scm
+++ b/packages/komodo/komodo.scm
@@ -261,6 +261,11 @@
(("doom::meta")
"doom_meta")))
+(define remove-unity
+ `(substitute* "src/CMakeLists.txt"
+ (("UNITY_BUILD ON")
+ "UNITY_BUILD OFF")))
+
(define replace-vcpkg
`(substitute* "CMakeLists.txt"
(("include\\(vcpkg_prerequisites\\)")
@@ -277,7 +282,8 @@
`(lambda _
,replace-vcpkg
,fix-date
- ,fix-doom-meta))
+ ,fix-doom-meta
+ ,remove-unity))
(define entt-komodo-content-hash-get
(content-hash (base32 entt-komodo-hash)))