gnu: Python: Avoid needless reference on coreutils.

* gnu/packages/python.scm (python-2.7)[arguments]: Pass "INSTALL" and
"MKDIR_P" in <#:configure-flags>.
This commit is contained in:
Marius Bakke 2019-07-07 16:51:26 +02:00
parent 4f5fe46388
commit fcb5493793
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -143,6 +143,12 @@ (define-public python-2.7
"--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.