summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-03 02:12:02 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-05 07:03:11 +0200
commit8dca40a3def355725c1d612d4d0caa3e5db72964 (patch)
treec398732219e067fc6b782d6400b63935ee793ada
parentfe743ebb41f0936b378a185beb7c00adc4172d8c (diff)
downloadguix-8dca40a3def355725c1d612d4d0caa3e5db72964.tar.gz
gnu: bcachefs-tools: Display the correct version.
* gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Add VERSION
to make-flags.
-rw-r--r--gnu/packages/file-systems.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index eee218d7bb..6d395feaf5 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")