gnu: miniflux: Enable all tests.
* gnu/packages/web.scm (miniflux) [arguments]: <#:phases>: Swap to custom 'check phase. Change-Id: Ib62634abe3be76ad4ad708f5de75e9b96264a0cd
This commit is contained in:
		
							parent
							
								
									fdb51f305a
								
							
						
					
					
						commit
						af4c90dc73
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -361,6 +361,12 @@ and its related documentation.") | ||||||
|                #$version)) |                #$version)) | ||||||
|       #:phases |       #:phases | ||||||
|       #~(modify-phases %standard-phases |       #~(modify-phases %standard-phases | ||||||
|  |           ;; XXX: Replace when go-build-system supports nested path. | ||||||
|  |           (replace 'check | ||||||
|  |             (lambda* (#:key import-path tests? #:allow-other-keys) | ||||||
|  |               (when tests? | ||||||
|  |                 (with-directory-excursion (string-append "src/" import-path) | ||||||
|  |                   (invoke "go" "test" "-v" "./..."))))) | ||||||
|           (add-after 'install 'install-manpage |           (add-after 'install 'install-manpage | ||||||
|             (lambda* (#:key import-path #:allow-other-keys) |             (lambda* (#:key import-path #:allow-other-keys) | ||||||
|               (let ((man1 (string-append #$output "/share/man/man1/")) |               (let ((man1 (string-append #$output "/share/man/man1/")) | ||||||
|  |  | ||||||
		Reference in a new issue