mbakke pushed a commit to branch core-updates
in repository guix.
commit fcb5493793ca43c159fcb87e1b9d0b1e93430e5b
Author: Marius Bakke <[email protected]>
Date: Sun Jul 7 16:51:26 2019 +0200
gnu: Python: Avoid needless reference on coreutils.
* gnu/packages/python.scm (python-2.7)[arguments]: Pass "INSTALL" and
"MKDIR_P" in <#:configure-flags>.
---
gnu/packages/python.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d834cda..68ea23f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -143,6 +143,12 @@
"--with-system-ffi" ;build ctypes
"--with-ensurepip=install" ;install pip and setuptools
"--enable-unicode=ucs4"
+
+ ;; Prevent the installed _sysconfigdata.py from retaining a
reference
+ ;; to coreutils.
+ "INSTALL=install -c"
+ "MKDIR_P=mkdir -p"
+
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))
;; With no -j argument tests use all available cpus, so provide one.