gnu: guix: Move 'bootstrap' phase after 'unpack'.
Suggested by Mark H Weaver <mhw@netris.org> at <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00389.html>. * gnu/packages/package-management.scm (guix)[arguments]: Move 'bootstrap' phase back after 'unpack'.
This commit is contained in:
		
							parent
							
								
									d65d7759f0
								
							
						
					
					
						commit
						8833a647bb
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -136,13 +136,15 @@
 | 
			
		|||
                    (ice-9 rdelim))
 | 
			
		||||
 | 
			
		||||
         #:phases (modify-phases %standard-phases
 | 
			
		||||
                    (add-before 'configure 'bootstrap
 | 
			
		||||
                    (add-after 'unpack 'bootstrap
 | 
			
		||||
                      (lambda _
 | 
			
		||||
                        ;; Make sure 'msgmerge' can modify the PO files.
 | 
			
		||||
                        (for-each (lambda (po)
 | 
			
		||||
                                    (chmod po #o666))
 | 
			
		||||
                                  (find-files "." "\\.po$"))
 | 
			
		||||
 | 
			
		||||
                        (patch-shebang "build-aux/git-version-gen")
 | 
			
		||||
 | 
			
		||||
                        (call-with-output-file ".tarball-version"
 | 
			
		||||
                          (lambda (port)
 | 
			
		||||
                            (display ,version port)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue