python39Packages.sphinx: fix reproducibility (#172642)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
@@ -51,6 +51,12 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "docutils>=0.14,<0.18" "docutils>=0.14"
|
||||
|
||||
# remove impurity caused by date inclusion
|
||||
# https://github.com/sphinx-doc/sphinx/blob/master/setup.cfg#L4-L6
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "tag_build = .dev" "" \
|
||||
--replace "tag_date = true" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user