3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: ndctl: Return #t from phases.

* gnu/packages/disk (ndctl)[arguments]: Rename inaccurately named
'autogen' phase to 'patch-FHS-file-names'. Explicitly return #t.
This commit is contained in:
Tobias Geerinckx-Rice 2018-10-01 23:29:04 +02:00
parent 7f12d8134e
commit a926109d62
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -630,14 +630,15 @@ passphrases.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'autogen
(add-after 'unpack 'patch-FHS-file-names
(lambda _
(substitute* "autogen.sh"
(("/bin/sh") (which "sh")))
(substitute* "git-version-gen"
(("/bin/sh") (which "sh")))
(substitute* "git-version"
(("/bin/bash") (which "bash"))))))
(("/bin/bash") (which "bash")))
#t)))
#:make-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "BASH_COMPLETION_DIR=" out