summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgenii Lepikhin <e.lepihin@postgrespro.ru>2023-09-28 11:56:36 +0300
committerEvgenii Lepikhin <e.lepihin@postgrespro.ru>2023-09-28 11:56:36 +0300
commitb3d7d2868465ae767c61fa0894988681ebe5fe4c (patch)
tree643c40651ecafb45cbfc305a6397ed14119c0abe
parentfix: [WIP] Do not test rustfmt at all (diff)
downloadjohnlepikhin-guix-channel-b3d7d2868465ae767c61fa0894988681ebe5fe4c.tar.gz
fix: [WIP] empty check
-rw-r--r--johnlepikhin/packages/rust.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/johnlepikhin/packages/rust.scm b/johnlepikhin/packages/rust.scm
index 1011160..20e4898 100644
--- a/johnlepikhin/packages/rust.scm
+++ b/johnlepikhin/packages/rust.scm
@@ -957,6 +957,14 @@ safety and thread safety guarantees.")
"src/tools/cargo"
"src/tools/clippy"
"src/tools/rustfmt"))))
+
+ (replace 'check
+ ;; Phase overridden to also test rustfmt.
+ (lambda* (#:key tests? parallel-build? #:allow-other-keys)
+ (when tests?
+ ;; do nothing
+ )))
+
(replace 'install
;; Phase overridden to also install rustfmt.
(lambda* (#:key outputs #:allow-other-keys)