forked from mirrors/nixpkgs
httpretty: make patch conditional on python version
This commit is contained in:
parent
db3ffaa8f0
commit
a3ef1ad66c
|
@ -10443,7 +10443,8 @@ in modules // {
|
|||
DIFF
|
||||
|
||||
# Explicit encoding flag is required with python3, unless locale is set.
|
||||
patch -p0 -i ${../development/python-modules/httpretty/setup.py.patch}
|
||||
${if !self.isPy3k then "" else
|
||||
"patch -p0 -i ${../development/python-modules/httpretty/setup.py.patch}"}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue