me
/
guix
Archived
1
0
Fork 0

gnu: python2-send2trash: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python2-send2trash): Do not override the
arguments field.
master
Maxim Cournoyer 2021-01-24 10:50:26 -05:00
parent cdbe4a7c70
commit 905b1b1081
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 11 deletions

View File

@ -17565,17 +17565,7 @@ user's @file{~/Trash} directory.")
(license license:bsd-3)))
(define-public python2-send2trash
(package
(inherit (package-with-python2 (strip-python2-variant python-send2trash)))
(arguments
(substitute-keyword-arguments (package-arguments python-send2trash)
((#:phases phases)
`(modify-phases ,phases
(add-before 'check 'setenv
(lambda _
(setenv "PYTHONPATH"
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
#t))))))))
(package-with-python2 (strip-python2-variant python-send2trash)))
(define-public python-pyfavicon
(package