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
1 changed files with 6 additions and 0 deletions

View File

@ -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.