guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 1207b202112960ad576912984297e01167711080
Author: Zheng Junjie <[email protected]>
AuthorDate: Sun Jul 13 14:28:38 2025 +0800

    gnu: immer: Update to 0.8.1-0.df6ef46.
    
    * gnu/packages/cpp.scm (immer): Update to 0.8.1-0.df6ef46
    [native-inputs]: Remove catch2; add catch2-3.
    
    Change-Id: I5c819cc0108739e9bf2eeae3bc73c70fd6d3b6d3
---
 gnu/packages/cpp.scm | 49 ++++++++++++++++++++++++++-----------------------
 1 file changed, 26 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index abd1aeb1ba..9396169b23 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2452,30 +2452,33 @@ provides a number of utilities to make coding with 
expected cleaner.")
     (license license:cc0)))
 
 (define-public immer
-  (package
-   (name "immer")
-   (version "0.8.1")
-   (source (origin
-            (method git-fetch)
-            (uri (git-reference
-                  (url "https://github.com/arximboldi/immer";)
-                  (commit (string-append "v" version))))
-            (file-name (git-file-name name version))
-            (sha256
-             (base32 "03qkr42h0g6rivj3kq207gzgnv7hq88y69q16l2vg1lbvjcgca2g"))))
-   (build-system cmake-build-system)
-   (arguments (list #:test-target "check"
-                    ;; -Werror appears to report false positives.
-                    ;; See <https://github.com/arximboldi/immer/issues/223>.
-                    #:configure-flags #~(list "-DDISABLE_WERROR=ON")))
-   (inputs (list boost libgc c-rrb))
-   (native-inputs (list catch2 doctest fmt pkg-config))
-   (home-page "https://sinusoid.es/immer";)
-   (synopsis "Immutable data structures")
-   (description "Immer is a library of persistent and immutable data structures
+  ;; Use latest commit to fix build with gcc 14.
+  (let ((commit "df6ef46d97e1fe81f397015b9aeb32505cef653b")
+        (revision "0"))
+    (package
+      (name "immer")
+      (version (git-version "0.8.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/arximboldi/immer";)
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32 
"032rb84ahvdnc1m6sj4lflrwnk4p1f2jsq1pv03xbgizp2lr2pkx"))))
+      (build-system cmake-build-system)
+      (arguments (list #:test-target "check"
+                       ;; -Werror appears to report false positives.
+                       ;; See <https://github.com/arximboldi/immer/issues/223>.
+                       #:configure-flags #~(list "-DDISABLE_WERROR=ON")))
+      (inputs (list boost libgc c-rrb))
+      (native-inputs (list catch2-3 doctest fmt pkg-config))
+      (home-page "https://sinusoid.es/immer";)
+      (synopsis "Immutable data structures")
+      (description "Immer is a library of persistent and immutable data 
structures
 written in C++.")
-   (properties '((lint-hidden-cpe-vendors . ("immer_project"))))
-   (license license:boost1.0)))
+      (properties '((lint-hidden-cpe-vendors . ("immer_project"))))
+      (license license:boost1.0))))
 
 (define-public zug
   (package

Reply via email to