gnu: mariadb: Delete test files and static libraries.
* gnu/packages/databases.scm (mariadb)[arguments]: Adapt 'post-install' phase to purge static archives and test executables.
This commit is contained in:
		
							parent
							
								
									2001d2dac4
								
							
						
					
					
						commit
						963157f1cc
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -763,7 +763,11 @@ Language.")
 | 
				
			||||||
              (with-directory-excursion out
 | 
					              (with-directory-excursion out
 | 
				
			||||||
                (for-each delete-file-recursively
 | 
					                (for-each delete-file-recursively
 | 
				
			||||||
                          '("data" "mysql-test" "sql-bench"
 | 
					                          '("data" "mysql-test" "sql-bench"
 | 
				
			||||||
                            "share/man/man1/mysql-test-run.pl.1")))
 | 
					                            "share/man/man1/mysql-test-run.pl.1"))
 | 
				
			||||||
 | 
					                ;; Delete huge mysqltest executables.
 | 
				
			||||||
 | 
					                (for-each delete-file (find-files "bin" "test"))
 | 
				
			||||||
 | 
					                ;; And static libraries.
 | 
				
			||||||
 | 
					                (for-each delete-file (find-files "lib" "\\.a$")))
 | 
				
			||||||
              #t))))))
 | 
					              #t))))))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("bison" ,bison)
 | 
					     `(("bison" ,bison)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue