mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
gnu: diffutils: Skip failing test on GNU/Hurd.
* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always use substitute-keyword-arguments.
This commit is contained in:
parent
fe20121dc7
commit
2a152e1a42
2 changed files with 10 additions and 6 deletions
|
@ -283,6 +283,10 @@ (define-public diffutils
|
|||
"1v4g8gi0lgakqa7iix8s4fq7lq6l92vw3rjd9wfd2rhjng8xggd6"))
|
||||
(patches (search-patches "diffutils-fix-signal-processing.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags ,(if (hurd-target?)
|
||||
''("XFAIL_TESTS=test-perror2")
|
||||
''())))
|
||||
(native-inputs (list perl))
|
||||
(synopsis "Comparing and merging files")
|
||||
(description
|
||||
|
|
|
@ -2475,15 +2475,15 @@ (define diffutils-boot0
|
|||
`(#:tests? #f ; the test suite needs diffutils
|
||||
#:guile ,%bootstrap-guile
|
||||
#:implicit-inputs? #f
|
||||
,@(match (%current-system)
|
||||
((or "arm-linux" "aarch64-linux")
|
||||
(substitute-keyword-arguments (package-arguments diffutils)
|
||||
((#:configure-flags flags ''())
|
||||
,@(substitute-keyword-arguments (package-arguments diffutils)
|
||||
((#:configure-flags flags ''())
|
||||
(match (%current-system)
|
||||
((or "arm-linux" "aarch64-linux")
|
||||
;; The generated config.status has some problems due to the
|
||||
;; bootstrap environment. Disable dependency tracking to work
|
||||
;; around it.
|
||||
`(cons "--disable-dependency-tracking" ,flags))))
|
||||
(_ '()))))))
|
||||
`(cons "--disable-dependency-tracking" ,flags))
|
||||
(_ flags))))))))
|
||||
|
||||
(define findutils-boot0
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue