mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-03 17:43:00 +00:00
Keep using our dontBuildDocs
helper function
It does the necessary overrides for stopping doc builds and excluding certain inputs and outputs. We can't just set `dontBuildDocs` in the derivation because that's not a setting recognized by the Nixpkgs Python build system.
This commit is contained in:
parent
8421d406e9
commit
0b0e5c5c93
@ -7,7 +7,4 @@ pyopenssl.overrideAttrs (old: rec {
|
|||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "J2+TH1WkUufeppxxc+mE6ypEB85BPJGKo0tV+C+bi6w=";
|
sha256 = "J2+TH1WkUufeppxxc+mE6ypEB85BPJGKo0tV+C+bi6w=";
|
||||||
};
|
};
|
||||||
# Building the docs requires sphinx which brings in a dependency on babel,
|
|
||||||
# the test suite of which fails.
|
|
||||||
dontBuildDocs = isPyPy;
|
|
||||||
})
|
})
|
||||||
|
@ -29,8 +29,12 @@ in {
|
|||||||
|
|
||||||
# Update the version of pyopenssl.
|
# Update the version of pyopenssl.
|
||||||
pyopenssl = self.callPackage ./pyopenssl.nix {
|
pyopenssl = self.callPackage ./pyopenssl.nix {
|
||||||
|
pyopenssl =
|
||||||
|
# Building the docs requires sphinx which brings in a dependency on babel,
|
||||||
|
# the test suite of which fails.
|
||||||
|
onPyPy (dontBuildDocs { sphinx-rtd-theme = null; })
|
||||||
# Avoid infinite recursion.
|
# Avoid infinite recursion.
|
||||||
inherit (super) pyopenssl;
|
super.pyopenssl;
|
||||||
};
|
};
|
||||||
|
|
||||||
# collections-extended is currently broken for Python 3.11 in nixpkgs but
|
# collections-extended is currently broken for Python 3.11 in nixpkgs but
|
||||||
|
Loading…
x
Reference in New Issue
Block a user