diff options
author | Timo Wilken <guix@twilken.net> | 2025-04-05 19:49:35 +0200 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2025-04-06 14:46:46 +0800 |
commit | 85eb725f8cc450608b6778a071bcd19238bf6983 (patch) | |
tree | 3e7818fa489b65dccc84fe0dc1451c099abca346 | |
parent | 80826c6e038997dc47eb455888f0feaa38c08bf5 (diff) | |
download | guix-85eb725f8cc450608b6778a071bcd19238bf6983.tar.gz guix-85eb725f8cc450608b6778a071bcd19238bf6983.zip |
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>
-rw-r--r-- | gnu/packages/games.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 328af308a5..a69b492e6c 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -10665,10 +10665,6 @@ and also provides the base for the FlightGear Flight Simulator.") (lambda* args ((assoc-ref %standard-phases 'build) #: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 (lambda _ (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 (invoke "tar" "xf" #$(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 (list boost dbus |