me
/
guix
Archived
1
0
Fork 0

gnu: ndctl: Fix version reporting.

* gnu/packages/disk.scm (ndctl)[arguments]: Add a 'fix-version phase.
master
Tobias Geerinckx-Rice 2022-01-07 23:51:59 +01:00
parent f1dcd661f8
commit f17f3e59f8
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 0 deletions

View File

@ -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"