gnu: bcachefs-tools: Display the correct version.

* gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Add VERSION
to make-flags.
This commit is contained in:
Tobias Geerinckx-Rice 2020-07-03 02:12:02 +02:00
parent fe743ebb41
commit 8dca40a3de
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -227,7 +227,8 @@ (define-public bcachefs-tools
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(list ,(string-append "VERSION=" version) ; bogus vX.Y-nogit otherwise
(string-append "PREFIX=" (assoc-ref %outputs "out"))
"INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
"CC=gcc"
"PYTEST=pytest")