--- a/guix/build/python-build-system.scm +++ b/guix/build/python-build-system.scm @@ -60,14 +60,20 @@ #:allow-other-keys) "Install a given Python package." (let* ((out (assoc-ref outputs "out")) - (params (append (list (string-append "--prefix=" out)) + (params (cons* (string-append "--prefix=" out) + + ;; Make sure the .egg files are kept unzipped, + ;; otherwise the daemon's conservative scanning may + ;; not find store references embedded in it. + "--always-unzip" + configure-flags)) (python-version (get-python-version (assoc-ref inputs "python"))) (old-path (getenv "PYTHONPATH")) (add-path (string-append out "/lib/python" python-version "/site-packages/"))) - ;; create the module installation directory and add it to PYTHONPATH - ;; to make setuptools happy + ;; Create the module installation directory and add it to PYTHONPATH + ;; to make setuptools happy. (mkdir-p add-path) (setenv "PYTHONPATH" (string-append (if old-path