summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/disk.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index ac8b561e79..9c25d940eb 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -833,6 +833,11 @@ passphrases.")
(lambda _
(substitute* "util/parse-configs.c"
(("iniparser/") ""))))
+ (add-after 'unpack 'fix-version
+ ;; Our VERSION's always better than the build's poor guess.
+ (lambda _
+ (with-output-to-file "version"
+ (lambda _ (display #$version)))))
(add-after 'unpack 'patch-FHS-file-names
(lambda _
(substitute* "git-version-gen"