mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
pythonPackages.Nikola: fix build
This commit is contained in:
parent
09beefdfbf
commit
278a7f9f20
|
@ -58,6 +58,12 @@ buildPythonPackage rec {
|
|||
sha256 = "1a5y1qriy76hl4yxvbf365b1ggsxybm06mi1pwb5jkgbkwk2gkrf";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
# upstream added bound so that requires.io doesn't send mails about update
|
||||
# nikola should work with markdown 3.0: https://github.com/getnikola/nikola/pull/3175#issue-220147596
|
||||
sed -i 's/Markdown>.*/Markdown/' requirements.txt
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" py.test .
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue