mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: SeaBIOS: Prettify version string.
* gnu/packages/firmware.scm (seabios)[arguments]: Display version as "1.16.1/GNU Guix" instead of "1.16.1-guix".
This commit is contained in:
parent
145aa7f04b
commit
b2fc209b2c
1 changed files with 6 additions and 4 deletions
|
@ -423,7 +423,10 @@ (define-public seabios
|
|||
(list
|
||||
#:tests? #f ;no tests
|
||||
#:make-flags
|
||||
#~'("EXTRAVERSION=-guix" ;upstream wants distros to set this
|
||||
;; If EXTRAVERSION is not set the build system will embed the current
|
||||
;; date in binaries. Use this opportunity to personalize as recommended
|
||||
;; by Build_overview.md.
|
||||
#~'("EXTRAVERSION=/GNU Guix"
|
||||
"V=1") ;build verbosely
|
||||
#:modules `(,@%gnu-build-system-modules
|
||||
(ice-9 threads)
|
||||
|
@ -432,9 +435,8 @@ (define-public seabios
|
|||
#~(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
;; Create the ".version" file that is present in release tarballs.
|
||||
;; Otherwise this will be regarded as an "unclean" build, and the
|
||||
;; build system ends up encoding the build date in the binaries.
|
||||
;; Ensure this file is present in case we're building from a git
|
||||
;; checkout instead of release tarball.
|
||||
(call-with-output-file ".version"
|
||||
(lambda (port)
|
||||
(format port #$(package-version this-package))))
|
||||
|
|
Loading…
Reference in a new issue