Merge pull request #177253 from dotlambda/ceph-python39
This commit is contained in:
commit
f13315dd4c
2 changed files with 9 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
, ensureNewerSourcesHook
|
||||
, cmake, pkg-config
|
||||
, which, git
|
||||
, boost
|
||||
, boost175
|
||||
, libxml2, zlib, lz4
|
||||
, openldap, lttng-ust
|
||||
, babeltrace, gperf
|
||||
|
@ -21,7 +21,7 @@
|
|||
, doxygen
|
||||
, graphviz
|
||||
, fmt
|
||||
, python3
|
||||
, python39
|
||||
|
||||
# Optional Dependencies
|
||||
, yasm ? null, fcgi ? null, expat ? null
|
||||
|
@ -104,7 +104,13 @@ let
|
|||
meta = getMeta "Ceph common module for code shared by manager modules";
|
||||
};
|
||||
|
||||
python = python3;
|
||||
# Boost 1.75 is not compatible with Python 3.10
|
||||
python = python39;
|
||||
|
||||
boost = boost175.override {
|
||||
enablePython = true;
|
||||
inherit python;
|
||||
};
|
||||
|
||||
ceph-python-env = python.withPackages (ps: [
|
||||
ps.sphinx
|
||||
|
|
|
@ -4601,7 +4601,6 @@ with pkgs;
|
|||
|
||||
libceph = ceph.lib;
|
||||
inherit (callPackages ../tools/filesystems/ceph {
|
||||
boost = boost175.override { enablePython = true; python = python3; };
|
||||
lua = lua5_4;
|
||||
})
|
||||
ceph
|
||||
|
|
Loading…
Reference in a new issue