summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2016-11-27 09:53:20 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-11-27 13:23:53 +0100
commit7574cecf0fb8c737f89d5d670121241538f5a98e (patch)
tree80fb6d2d22d966e3a6a0859a79254c60b3eea15c /gnu/packages/python.scm
parent988e1dca4b61ed5ddf77bd2913b8c0ff4a6b24e7 (diff)
gnu: python2-flask: Pick up python-flask's native-inputs.
* gnu/packages/python.scm (python2-flask)[native-inputs]: Pick up python-flask's native-inputs. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 497da52264..39b40e7753 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9581,9 +9581,11 @@ presume or force a developer to use a particular tool or library.")
(properties `((python2-variant . ,(delay python2-flask))))))
(define-public python2-flask
- (package (inherit (package-with-python2
- (strip-python2-variant python-flask)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (let ((base (package-with-python2 (strip-python2-variant python-flask))))
+ (package
+ (inherit base)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
(define-public python-cookies
(package