profiles: Handle packages without a 'share/info' directory.
Reported by Mark H. Weaver. * guix/profiles.scm (info-dir-file): Handle the case where 'scandir' returns #f.
This commit is contained in:
		
							parent
							
								
									6b3342af59
								
							
						
					
					
						commit
						c2815c0f46
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -393,7 +393,7 @@ MANIFEST." | ||||||
|         (define (info-files top) |         (define (info-files top) | ||||||
|           (let ((infodir (string-append top "/share/info"))) |           (let ((infodir (string-append top "/share/info"))) | ||||||
|             (map (cut string-append infodir "/" <>) |             (map (cut string-append infodir "/" <>) | ||||||
|                  (scandir infodir info-file?)))) |                  (or (scandir infodir info-file?) '())))) | ||||||
| 
 | 
 | ||||||
|         (define (install-info info) |         (define (install-info info) | ||||||
|           (zero? |           (zero? | ||||||
|  |  | ||||||
		Reference in a new issue