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:
		
							parent
							
								
									7f12d8134e
								
							
						
					
					
						commit
						a926109d62
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -630,14 +630,15 @@ passphrases.") | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:phases |      `(#:phases | ||||||
|        (modify-phases %standard-phases |        (modify-phases %standard-phases | ||||||
|          (add-after 'unpack 'autogen |          (add-after 'unpack 'patch-FHS-file-names | ||||||
|            (lambda _ |            (lambda _ | ||||||
|              (substitute* "autogen.sh" |              (substitute* "autogen.sh" | ||||||
|                (("/bin/sh") (which "sh"))) |                (("/bin/sh") (which "sh"))) | ||||||
|              (substitute* "git-version-gen" |              (substitute* "git-version-gen" | ||||||
|                (("/bin/sh") (which "sh"))) |                (("/bin/sh") (which "sh"))) | ||||||
|              (substitute* "git-version" |              (substitute* "git-version" | ||||||
|                (("/bin/bash") (which "bash")))))) |                (("/bin/bash") (which "bash"))) | ||||||
|  |              #t))) | ||||||
|        #:make-flags |        #:make-flags | ||||||
|        (let ((out (assoc-ref %outputs "out"))) |        (let ((out (assoc-ref %outputs "out"))) | ||||||
|          (list (string-append "BASH_COMPLETION_DIR=" out |          (list (string-append "BASH_COMPLETION_DIR=" out | ||||||
|  |  | ||||||
		Reference in a new issue