diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2022-07-07 10:40:13 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2022-07-08 19:32:45 +0200 |
commit | 513f6c27866eef8ab3b3b439d93e6bfa2b7c4b53 (patch) | |
tree | 3304cf89685305a818ff61d062161a8c20e25f4a /gnu/packages/lisp-xyz.scm | |
parent | 681a02916dc58a9c8723ed1d35fabd23a54a5c81 (diff) |
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.
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index a1528d16ce..0ec698b5a4 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10402,8 +10402,25 @@ interface for MySQL, PostgreSQL and SQLite.") (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") |