summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-08-02 14:36:05 -0400
committerLeo Famulari <leo@famulari.name>2017-08-02 14:39:33 -0400
commit2c5cf844302e06086647a137f01a35f777ae25d7 (patch)
tree9b04dc8a987c3fa1638a42a1106010f895e80a4d
parent9ef5940ce4b0548e7831436a8f34967e21f8d69e (diff)
gnu: python2-conda: Fix build by building with enum34.
* gnu/packages/package-management.scm (python2-conda): Use 'python2-variant'. [native-inputs]: Add python2-enum34.
-rw-r--r--gnu/packages/package-management.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 5c0e5a9c7d..d9ba5f6ce1 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -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)