summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-15 13:25:40 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 15:00:21 +0100
commit90d90d07ca777cafbeaa4da9bed456888b9e0bec (patch)
tree6e68c3cf8646460bc399a0d0f59af89363a48c94
parent34926d1cdc2775cca3b1b39689e0352e370e21ae (diff)
gnu: libchewing: Improve style.
* gnu/packages/language.scm (libchewing)[arguments]: Improve style, use G-expressions. Change-Id: I5b77964478b750c796f6c749be341ab6dd477d3b Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/language.scm49
1 files changed, 25 insertions, 24 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 08c4fb288d..4633a1c9ec 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -289,33 +289,34 @@ Random Cage Fighting Birds, Cool Music etc.")
(base32 "0gh64wvrk5pn0fhmpvj1j99d5g7f7697rk96zbkc8l72yjr819z5"))))
(build-system cmake-build-system)
(arguments
- `(#:modules (((guix build cargo-build-system) #:prefix cargo:)
+ (list
+ #:modules '(((guix build cargo-build-system) #:prefix cargo:)
(guix build utils)
(guix build cmake-build-system))
- #:imported-modules ((guix build cmake-build-system)
+ #:imported-modules `((guix build cmake-build-system)
,@%cargo-build-system-modules)
- #:out-of-source? #f ;For the tests.
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'prepare-cargo-build-system
- (lambda args
- (for-each
- (lambda (phase)
- (format #t "Running cargo phase: ~a~%" phase)
- (apply (assoc-ref cargo:%standard-phases phase)
- ;; Keep the vendor-dir outside of cmake's directories.
- #:vendor-dir "../guix-vendor"
- #:cargo-target ,(cargo-triplet)
- args))
- '(unpack-rust-crates
- configure
- check-for-pregenerated-files
- patch-cargo-checksums))))
- (add-after 'unpack 'work-around-genkeystroke
- (lambda _
- ;; Remove this phase when we can find ncurses with cmake.
- (substitute* "tests/CMakeLists.txt"
- (("CURSES_FOUND") "FALSE")))))))
+ #:out-of-source? #f ;For the tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'prepare-cargo-build-system
+ (lambda args
+ (for-each
+ (lambda (phase)
+ (format #t "Running cargo phase: ~a~%" phase)
+ (apply (assoc-ref cargo:%standard-phases phase)
+ ;; Keep the vendor-dir outside of cmake's directories.
+ #:vendor-dir "../guix-vendor"
+ #:cargo-target #$(cargo-triplet)
+ args))
+ '(unpack-rust-crates
+ configure
+ check-for-pregenerated-files
+ patch-cargo-checksums))))
+ (add-after 'unpack 'work-around-genkeystroke
+ (lambda _
+ ;; Remove this phase when we can find ncurses with cmake.
+ (substitute* "tests/CMakeLists.txt"
+ (("CURSES_FOUND") "FALSE")))))))
(native-inputs
(append
(list rust `(,rust "cargo") )