guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: bcachefs-tools: Display the correct version.


From: guix-commits
Subject: 01/05: gnu: bcachefs-tools: Display the correct version.
Date: Sun, 5 Jul 2020 01:04:28 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 8dca40a3def355725c1d612d4d0caa3e5db72964
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Jul 3 02:12:02 2020 +0200

    gnu: bcachefs-tools: Display the correct version.
    
    * gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Add VERSION
    to make-flags.
---
 gnu/packages/file-systems.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index eee218d..6d395fe 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -227,7 +227,8 @@ from a mounted filesystem.")
       (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]