From e3e74e40227bdf3e47077a5d32665f3e44bfa186 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 26 Apr 2018 22:00:15 +0200 Subject: [PATCH] gnu: python2-ndg-httpsclient: Fix build. This might be a follow-up to a39cc016329f1f490ac7629fa81c9b686e7b0f4e from 2016, which would be neat. * gnu/packages/python-web.scm (python2-ndg-httpsclient)[arguments]: Use SUBSTITUTE-KEYWORD-ARGUMENTS to still skip tests. --- gnu/packages/python-web.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 53a9d3c2f3..6e8d9ab954 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -44,6 +44,7 @@ (define-module (gnu packages python-web) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system python) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -1024,7 +1025,9 @@ (define-public python-ndg-httpsclient (define-public python2-ndg-httpsclient (package (inherit python-ndg-httpsclient) (name "python2-ndg-httpsclient") - (arguments `(#:python ,python-2)) + (arguments + (substitute-keyword-arguments (package-arguments python-ndg-httpsclient) + ((#:python _) python-2))) (propagated-inputs `(("python2-pyopenssl" ,python2-pyopenssl)))))