gnu: gcc: Change custom-gcc to use gexp's.
As this seems to be generating broken derivations for i586-gnu otherwise. * gnu/packages/gcc.scm (custom-gcc): Use gexp's for the generated package arguments.
This commit is contained in:
		
							parent
							
								
									69d74e35b2
								
							
						
					
					
						commit
						ded8cdbe89
					
				
					 1 changed files with 11 additions and 11 deletions
				
			
		| 
						 | 
					@ -1043,12 +1043,12 @@ as the 'native-search-paths' field."
 | 
				
			||||||
          (srfi srfi-26)
 | 
					          (srfi srfi-26)
 | 
				
			||||||
          (ice-9 regex)))
 | 
					          (ice-9 regex)))
 | 
				
			||||||
       ((#:configure-flags flags)
 | 
					       ((#:configure-flags flags)
 | 
				
			||||||
        `(cons (string-append "--enable-languages="
 | 
					        #~(cons (string-append "--enable-languages="
 | 
				
			||||||
                              ,(string-join languages ","))
 | 
					                               #$(string-join languages ","))
 | 
				
			||||||
                (remove (cut string-match "--enable-languages.*" <>)
 | 
					                (remove (cut string-match "--enable-languages.*" <>)
 | 
				
			||||||
                       ,flags)))
 | 
					                        #$flags)))
 | 
				
			||||||
       ((#:phases phases)
 | 
					       ((#:phases phases)
 | 
				
			||||||
        `(modify-phases ,phases
 | 
					        #~(modify-phases #$phases
 | 
				
			||||||
            (add-after 'install 'remove-broken-or-conflicting-files
 | 
					            (add-after 'install 'remove-broken-or-conflicting-files
 | 
				
			||||||
              (lambda* (#:key outputs #:allow-other-keys)
 | 
					              (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
                (for-each
 | 
					                (for-each
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue