gnu: guile-fibers: Support cross-compilation.
* gnu/packages/guile-xyz.scm (guile-fibers-1.1)[native-inputs]: Add GUILE-3.0. (guile2.2-fibers)[inputs, native-inputs]: Adjust accordingly.
This commit is contained in:
		
							parent
							
								
									24cbe07ae6
								
							
						
					
					
						commit
						c31897055d
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -640,10 +640,11 @@ Unix-style DSV format and RFC 4180 format.")
 | 
				
			||||||
                        #t))))))
 | 
					                        #t))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     (list texinfo pkg-config autoconf automake libtool
 | 
					     (list texinfo pkg-config autoconf automake libtool
 | 
				
			||||||
 | 
					           guile-3.0            ;for 'guild compile
 | 
				
			||||||
           ;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'
 | 
					           ;; Gettext brings 'AC_LIB_LINKFLAGS_FROM_LIBS'
 | 
				
			||||||
           gettext-minimal))
 | 
					           gettext-minimal))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     (list guile-3.0))
 | 
					     (list guile-3.0))                            ;for libguile-3.0.so
 | 
				
			||||||
    (synopsis "Lightweight concurrency facility for Guile")
 | 
					    (synopsis "Lightweight concurrency facility for Guile")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "Fibers is a Guile library that implements a a lightweight concurrency
 | 
					     "Fibers is a Guile library that implements a a lightweight concurrency
 | 
				
			||||||
| 
						 | 
					@ -716,7 +717,12 @@ is not available for Guile 2.0.")
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (inherit guile-fibers-1.1)
 | 
					    (inherit guile-fibers-1.1)
 | 
				
			||||||
    (name "guile2.2-fibers")
 | 
					    (name "guile2.2-fibers")
 | 
				
			||||||
    (inputs (list guile-2.2))))
 | 
					    (inputs
 | 
				
			||||||
 | 
					     (modify-inputs (package-inputs guile-fibers-1.1)
 | 
				
			||||||
 | 
					       (replace "guile" guile-2.2)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     (modify-inputs (package-native-inputs guile-fibers-1.1)
 | 
				
			||||||
 | 
					       (replace "guile" guile-2.2)))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public guile-filesystem
 | 
					(define-public guile-filesystem
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue