summaryrefslogtreecommitdiff
path: root/gnu/packages/disk.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2023-12-28 23:58:59 +0800
committerMathieu Othacehe <othacehe@gnu.org>2023-12-29 19:48:16 +0100
commit2c371d2cd9a30bf88fe9aae53913526876b01bcc (patch)
tree9a7ce60ca98259b47de889b8b8bca424b8c76dc8 /gnu/packages/disk.scm
parentc5c28df899b4c4f114bee9afd58dbde9fbbf3424 (diff)
gnu: f3: Fix cross-compiling.
* gnu/packages/disk.scm (f3) [arguments]: Use Gexp. Change-Id: I906a2b7b7691ae53592cfa35ba64fc7e7d735664 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r--gnu/packages/disk.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 754c70897c7..165f0a8a748 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -27,6 +27,7 @@
27;;; Copyright © 2022 Disseminate Dissent <disseminatedissent@protonmail.com> 27;;; Copyright © 2022 Disseminate Dissent <disseminatedissent@protonmail.com>
28;;; Copyright © 2023 Timotej Lazar <timotej.lazar@araneo.si> 28;;; Copyright © 2023 Timotej Lazar <timotej.lazar@araneo.si>
29;;; Copyright © 2023 Morgan Smith <Morgan.J.Smith@outlook.com> 29;;; Copyright © 2023 Morgan Smith <Morgan.J.Smith@outlook.com>
30;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
30;;; 31;;;
31;;; This file is part of GNU Guix. 32;;; This file is part of GNU Guix.
32;;; 33;;;
@@ -843,18 +844,18 @@ systems. Output format is completely customizable.")
843 (base32 "17l5vspfcgfbkqg7bakp3gql29yb05gzawm8n3im30ilzdr53678")))) 844 (base32 "17l5vspfcgfbkqg7bakp3gql29yb05gzawm8n3im30ilzdr53678"))))
844 (build-system gnu-build-system) 845 (build-system gnu-build-system)
845 (arguments 846 (arguments
846 `(#:tests? #f ; no check target 847 (list #:tests? #f ; no check target
847 #:make-flags (list (string-append "CC=" ,(cc-for-target)) 848 #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
848 (string-append "PREFIX=" %output)) 849 (string-append "PREFIX=" #$output))
849 #:phases 850 #:phases
850 (modify-phases %standard-phases 851 #~(modify-phases %standard-phases
851 (delete 'configure) ; no configure script 852 (delete 'configure) ; no configure script
852 (add-after 'build 'build-extra 853 (add-after 'build 'build-extra
853 (lambda* (#:key make-flags #:allow-other-keys) 854 (lambda* (#:key make-flags #:allow-other-keys)
854 (apply invoke "make" "extra" make-flags))) 855 (apply invoke "make" "extra" make-flags)))
855 (add-after 'build 'install-extra 856 (add-after 'build 'install-extra
856 (lambda* (#:key make-flags #:allow-other-keys) 857 (lambda* (#:key make-flags #:allow-other-keys)
857 (apply invoke "make" "install-extra" make-flags)))))) 858 (apply invoke "make" "install-extra" make-flags))))))
858 (inputs 859 (inputs
859 (list eudev parted)) 860 (list eudev parted))
860 (home-page "http://oss.digirati.com.br/f3/") 861 (home-page "http://oss.digirati.com.br/f3/")