summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-01 16:49:40 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-04 00:06:31 -0400
commitbfe66d4a2a1c8c3ea94f7cfbf59f26eaac0fe1b6 (patch)
treea46aeb1ea08e8cf09aab470b23f954c79225b73f /guix
parent32b713e016098ecc3d202133355ec04fed086d37 (diff)
downloadguix-patches-bfe66d4a2a1c8c3ea94f7cfbf59f26eaac0fe1b6.tar
guix-patches-bfe66d4a2a1c8c3ea94f7cfbf59f26eaac0fe1b6.tar.gz
import: pypi: Use new style for the conditional unzip input.
* guix/import/pypi.scm (make-pypi-sexp)<unzip>: Use new style.
Diffstat (limited to 'guix')
-rw-r--r--guix/import/pypi.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 77b5f12f72..392fc9700b 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -457,9 +457,7 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and LICENSE."
(match guix-dependencies
((required-inputs native-inputs)
(when (string-suffix? ".zip" source-url)
- (set! native-inputs (cons
- '("unzip" ,unzip)
- native-inputs)))
+ (set! native-inputs (cons 'unzip native-inputs)))
(values
`(package
(name ,(python->package-name name))