diff options
author | Greg Hogan <code@greghogan.com> | 2025-07-21 18:27:59 +0000 |
---|---|---|
committer | Greg Hogan <code@greghogan.com> | 2025-07-30 16:28:20 +0000 |
commit | cd50670a4d71ca794e198c9a7437bbd516ffe2db (patch) | |
tree | ddca6c7c4b835f3fe35af77282353564917496ac | |
parent | 02baa4d80c7618b4a43e5abc9d4ffaf71285512d (diff) |
gnu: editorconfig-core-c: Fix build.
* gnu/packages/text-editors.scm (editorconfig-core-c)
[arguments]<#:cmake>: Pin old version.
Change-Id: Ied3e790dbb49caed261ba5303b1fb509441541e4
-rw-r--r-- | gnu/packages/text-editors.scm | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index db32a20e0c..d95706ed45 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -78,6 +78,7 @@ #:use-module (gnu packages bash) #:use-module (gnu packages base) #:use-module (gnu packages boost) + #:use-module (gnu packages cmake) #:use-module (gnu packages code) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) @@ -1258,27 +1259,29 @@ in plain text file format.") (base32 "05qllpls3r95nfl14gqq3cv4lisf07fgn85n52w8blc5pfl1h93g")))) (build-system cmake-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'insert-tests - (lambda* (#:key inputs #:allow-other-keys) - (let ((tests (assoc-ref inputs "tests"))) - (copy-recursively tests "tests")) - #t)) - (add-after 'insert-tests 'disable-failing-tests - (lambda _ - (substitute* "tests/parser/CMakeLists.txt" - (("# Test max property name and values") - "# Disabled: test max property name and values\nif(FALSE)\n") - (("# Test max section names") - "endif()\n\n# Test max section names")))) - (add-after 'install 'delete-static-library - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (lib (string-append out "/lib"))) - (with-directory-excursion lib - (delete-file "libeditorconfig_static.a")) - #t)))))) + (list + #:cmake cmake-3.25 + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'insert-tests + (lambda* (#:key inputs #:allow-other-keys) + (let ((tests (assoc-ref inputs "tests"))) + (copy-recursively tests "tests")) + #t)) + (add-after 'insert-tests 'disable-failing-tests + (lambda _ + (substitute* "tests/parser/CMakeLists.txt" + (("# Test max property name and values") + "# Disabled: test max property name and values\nif(FALSE)\n") + (("# Test max section names") + "endif()\n\n# Test max section names")))) + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib"))) + (with-directory-excursion lib + (delete-file "libeditorconfig_static.a")) + #t)))))) (native-inputs `(("tests" ,(origin |