build: go-build-system: Follow-up to commit f42e4ebb56.
				
					
				
			This follows commit f42e4ebb56, which made it so that the unpack phase return
value could be left unspecified.
* guix/build/go-build-system.scm (unpack): Ensure that the value returned upon
a successful completion of the phase is #t.
			
			
This commit is contained in:
		
							parent
							
								
									2edec51c5e
								
							
						
					
					
						commit
						a321312e3a
					
				
					 1 changed files with 4 additions and 6 deletions
				
			
		|  | @ -174,8 +174,7 @@ unpacking." | |||
|              (when (file-is-directory? top-level-file) | ||||
|                (copy-recursively top-level-file dest #:keep-mtime? #t))) | ||||
|             (_ | ||||
|              (copy-recursively "." dest #:keep-mtime? #t))) | ||||
|           #t)) | ||||
|              (copy-recursively "." dest #:keep-mtime? #t))))) | ||||
|       (delete-file-recursively scratch-dir))) | ||||
| 
 | ||||
|   (when (string-null? import-path) | ||||
|  | @ -185,10 +184,9 @@ unpacking." | |||
|   (let ((dest (string-append (getenv "GOPATH") "/src/" unpack-path))) | ||||
|     (mkdir-p dest) | ||||
|     (if (file-is-directory? source) | ||||
|         (begin | ||||
|           (copy-recursively source dest #:keep-mtime? #t) | ||||
|           #t) | ||||
|         (unpack-maybe-strip source dest)))) | ||||
|         (copy-recursively source dest #:keep-mtime? #t) | ||||
|         (unpack-maybe-strip source dest))) | ||||
|   #t) | ||||
| 
 | ||||
| (define (go-package? name) | ||||
|   (string-prefix? "go-" name)) | ||||
|  |  | |||
		Reference in a new issue