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
1 changed files with 3 additions and 2 deletions

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