python311Packages.caldav: override xandikos to use the same python version

This commit is contained in:
Nick Cao 2023-12-16 14:07:36 -05:00
parent 174fc675c8
commit 698fa67a75
No known key found for this signature in database

View File

@ -5,10 +5,12 @@
, lxml , lxml
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, python
, pytz , pytz
, recurring-ical-events , recurring-ical-events
, requests , requests
, setuptools , setuptools
, toPythonModule
, tzlocal , tzlocal
, vobject , vobject
, xandikos , xandikos
@ -44,7 +46,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
xandikos (toPythonModule (xandikos.override { python3Packages = python.pkgs; }))
]; ];
pythonImportsCheck = [ "caldav" ]; pythonImportsCheck = [ "caldav" ];