mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: ndctl: Fix version reporting.
* gnu/packages/disk.scm (ndctl)[arguments]: Add a 'fix-version phase.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user