mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: flightgear: Fix build by reordering phases.
* gnu/packages/games.scm (flightgear)[arguments]: Put 'check' phase after the 'install-data' phase. Change-Id: Ifb4e4f0f3a09a2d2e596681ecb7c6c481f0e16b1 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
80826c6e03
commit
85eb725f8c
1 changed files with 5 additions and 5 deletions
|
@ -10665,10 +10665,6 @@ and also provides the base for the FlightGear Flight Simulator.")
|
||||||
(lambda* args
|
(lambda* args
|
||||||
((assoc-ref %standard-phases 'build)
|
((assoc-ref %standard-phases 'build)
|
||||||
#:make-flags (list "fgfs_test_suite"))))
|
#:make-flags (list "fgfs_test_suite"))))
|
||||||
;; Test suite needs access to FGData so run it after 'install.
|
|
||||||
(delete 'check)
|
|
||||||
(add-after 'install-data 'check
|
|
||||||
(assoc-ref %standard-phases 'check))
|
|
||||||
(add-after 'install 'install-data
|
(add-after 'install 'install-data
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((share (string-append #$output "/share/flightgear")))
|
(let ((share (string-append #$output "/share/flightgear")))
|
||||||
|
@ -10676,7 +10672,11 @@ and also provides the base for the FlightGear Flight Simulator.")
|
||||||
(with-directory-excursion share
|
(with-directory-excursion share
|
||||||
(invoke "tar" "xf"
|
(invoke "tar" "xf"
|
||||||
#$(this-package-native-input "flightgear-data")
|
#$(this-package-native-input "flightgear-data")
|
||||||
"--strip-components=1"))))))))
|
"--strip-components=1")))))
|
||||||
|
;; Test suite needs access to FGData so run it after 'install.
|
||||||
|
(delete 'check)
|
||||||
|
(add-after 'install-data 'check
|
||||||
|
(assoc-ref %standard-phases 'check)))))
|
||||||
(inputs
|
(inputs
|
||||||
(list boost
|
(list boost
|
||||||
dbus
|
dbus
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue