mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: sbcl-clsql: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-clsql)[source]: Delete the 'debian' folder and all Makefiles. This takes the closure size from 930 MiB down to 889 MiB.
This commit is contained in:
parent
681a02916d
commit
513f6c2786
1 changed files with 17 additions and 0 deletions
|
@ -10402,8 +10402,25 @@ (define-public sbcl-clsql
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1v1k3s5bsy3lgd9gk459bzpb1r0kdjda25s29samxw4gsgf1fqvp"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; The useless bundled debian folder drags `make' into the closure.
|
||||
(delete-file-recursively "debian")
|
||||
;; Other Makefiles that drag `make'.
|
||||
(for-each delete-file
|
||||
'("Makefile"
|
||||
"db-db2/Makefile"
|
||||
"db-mysql/Makefile"
|
||||
"db-odbc/Makefile"
|
||||
"db-oracle/Makefile"
|
||||
"db-sqlite/Makefile"
|
||||
"doc/Makefile"
|
||||
"examples/sqlite3/init-func/Makefile"
|
||||
"sql/Makefile"
|
||||
"tests/Makefile"
|
||||
"uffi/Makefile"
|
||||
"uffi/Makefile.32+64bits"))
|
||||
;; Remove precompiled libraries.
|
||||
(delete-file "db-mysql/clsql_mysql.dll")
|
||||
(delete-file "uffi/clsql_uffi.dll")
|
||||
|
|
Loading…
Reference in a new issue