aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2020-07-19 23:14:33 -0400
committerMark H Weaver <mhw@netris.org>2020-07-31 13:38:30 -0400
commitb23c1f50a5b9cf9bccc0aacf01990faf47daf3f2 (patch)
treed8dc5e67e0d6f91f55488f5473db7500a28130c4 /gnu/packages
parent2bc733e2711f2d5c7ca894da555d07d44388cf75 (diff)
downloadguix-b23c1f50a5b9cf9bccc0aacf01990faf47daf3f2.tar.gz
guix-b23c1f50a5b9cf9bccc0aacf01990faf47daf3f2.zip
gnu: ruby-netrc: All phases return #t.
* gnu/packages/ruby.scm (ruby-netrc): In check phase, use for-each instead of map, and return #t.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 6c0d57eecc..93fcc6da3e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6430,9 +6430,10 @@ other things and it comes with a command line interface.")
;; There is no Rakefile and minitest can only run one file at once,
;; so we have to iterate over all test files.
(lambda _
- (map (lambda (file)
- (invoke "ruby" "-Itest" file))
- (find-files "./test" "test_.*\\.rb")))))))
+ (for-each (lambda (file)
+ (invoke "ruby" "-Itest" file))
+ (find-files "./test" "test_.*\\.rb"))
+ #t)))))
(native-inputs
`(("ruby-minitest" ,ruby-minitest)))
(synopsis "Library to read and update netrc files")