mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +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;
|
||||
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.
|
||||
pyopenssl = self.callPackage ./pyopenssl.nix {
|
||||
# Avoid infinite recursion.
|
||||
inherit (super) pyopenssl;
|
||||
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.
|
||||
super.pyopenssl;
|
||||
};
|
||||
|
||||
# collections-extended is currently broken for Python 3.11 in nixpkgs but
|
||||
|
Loading…
x
Reference in New Issue
Block a user