mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: python2-send2trash: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python2-send2trash): Do not override the arguments field.
This commit is contained in:
parent
cdbe4a7c70
commit
905b1b1081
1 changed files with 1 additions and 11 deletions
|
@ -17565,17 +17565,7 @@ (define-public python-send2trash
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue