build-system/gnu: Fix 'install' phase of 'gnu-dist'.
* guix/build/gnu-dist.scm (install-dist): Fix 2nd argument to 'for-each'.
This commit is contained in:
		
							parent
							
								
									290c316621
								
							
						
					
					
						commit
						f9a0fc9dbb
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		|  | @ -40,13 +40,10 @@ | |||
|   (apply invoke "make" dist-target make-flags)) | ||||
| 
 | ||||
| (define* (install-dist #:key outputs #:allow-other-keys) | ||||
|   (let* ((out      (assoc-ref outputs "out")) | ||||
|          (meta     (string-append out "/nix-support")) ; Hydra meta-data | ||||
|          (tarballs (find-files "." "\\.tar\\."))) | ||||
|     (mkdir out) | ||||
|   (let ((out (assoc-ref outputs "out"))) | ||||
|     (for-each (lambda (tarball) | ||||
|                 (copy-file tarball (string-append out "/" tarball))) | ||||
|               out) | ||||
|                 (install-file tarball out)) | ||||
|               (find-files "." "\\.tar\\.")) | ||||
|     #t)) | ||||
| 
 | ||||
| (define %dist-phases | ||||
|  |  | |||
		Reference in a new issue