gnu: python2-conda: Fix build by building with enum34.

* gnu/packages/package-management.scm (python2-conda): Use 'python2-variant'.
[native-inputs]: Add python2-enum34.
This commit is contained in:
Leo Famulari 2017-08-02 14:36:05 -04:00
parent 9ef5940ce4
commit 2c5cf84430
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 6 additions and 1 deletions

View File

@ -661,7 +661,12 @@ This package provides Conda as a library.")
(license bsd-3)))
(define-public python2-conda
(package-with-python2 python-conda))
(let ((base (package-with-python2
(strip-python2-variant python-conda))))
(package (inherit base)
(native-inputs
`(("python2-enum34" ,python2-enum34)
,@(package-native-inputs base))))))
(define-public conda
(package (inherit python-conda)