diff options
author | Julien Lepiller <julien@lepiller.eu> | 2021-06-03 22:10:09 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2021-06-11 02:39:32 +0200 |
commit | 8ce96d84470912cadb6ecb03002236c52234dd9b (patch) | |
tree | f31d6cfa859495e3d8d53efa5c83c59849be9e51 /gnu/packages/python.scm | |
parent | 99d450b085b7bf44d669093f6c9964391ce1b451 (diff) | |
download | guix-8ce96d84470912cadb6ecb03002236c52234dd9b.tar.gz |
gnu: python: Do not install static libraries.
This is something Fedora already does since 2010, so it should be safe, and saves a lot of space. * gnu/packages/patches/python-2.7-no-static-lib.patch: New file. * gnu/packages/patches/python-3-no-static-lib.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/python.scm (python-2.7, python-3): Use them.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r-- | gnu/packages/python.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ca15147c56..e55794a48f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -150,7 +150,8 @@ "python-2.7-source-date-epoch.patch" "python-2.7-adjust-tests.patch" "python-cross-compile.patch" - "python-2.7-CVE-2021-3177.patch")) + "python-2.7-CVE-2021-3177.patch" + "python-2.7-no-static-lib.patch")) (modules '((guix build utils))) (snippet '(begin @@ -421,7 +422,8 @@ data types.") "python-3-deterministic-build-info.patch" "python-3-fix-tests.patch" "python-3-hurd-configure.patch" - "python-3-search-paths.patch")) + "python-3-search-paths.patch" + "python-3-no-static-lib.patch")) (sha256 (base32 "10vdf46q5ldnzkprm8pldvr5a9hrdpxjv7mpzgdw6vj3cl318nhc")) |