mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-03 18:09:18 -05:00
gnu: procps: Skip linux-version test for the Hurd.
* gnu/packages/linux.scm (procps)[arguments]: When building natively on the Hurd, add stage 'skip-tests'.
This commit is contained in:
parent
6da096879c
commit
7591fb0924
1 changed files with 9 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
|||
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||
;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
|
||||
;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
|
||||
;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de>
|
||||
|
@ -2390,7 +2390,14 @@ (define-public procps
|
|||
(let* ((out #$output)
|
||||
(dup (append-map (cut find-files out <>)
|
||||
'("^kill" "^uptime"))))
|
||||
(for-each delete-file dup)))))))
|
||||
(for-each delete-file dup))))
|
||||
#$@(if (system-hurd?)
|
||||
#~((add-after 'unpack 'skip-tests
|
||||
(lambda _
|
||||
(substitute* "library/tests/test_version.c"
|
||||
(("^int main\\(.*" all)
|
||||
(string-append all "{\n exit (77);//"))))))
|
||||
#~()))))
|
||||
(inputs (list ncurses))
|
||||
(native-inputs (list pkg-config))
|
||||
(home-page "https://gitlab.com/procps-ng/procps/")
|
||||
|
|
Loading…
Reference in a new issue