fix(drvs/apache-airflow): don't use nixpgks-overides

This commit is contained in:
DavHau 2023-06-21 15:22:25 +02:00
parent 6aecad7ef7
commit d0bc947ef4

View File

@ -5,12 +5,9 @@
}: let
l = lib // builtins;
python = config.deps.python;
extractPythonAttrs = config.nixpkgs-overrides.lib.extractPythonAttrs;
nixpkgsAttrs = extractPythonAttrs config.deps.apache-airflow;
in {
imports = [
../../drv-parts/pip
../../drv-parts/nixpkgs-overrides
];
deps = {
@ -44,14 +41,6 @@ in {
nativeBuildInputs = [
python.pkgs.GitPython
];
inherit
(nixpkgsAttrs)
buildInputs
postPatch
postInstall
preCheck
;
};
pip = {
@ -79,24 +68,4 @@ in {
};
};
};
env = {
inherit
(nixpkgsAttrs)
INSTALL_PROVIDERS_FROM_SOURCES
makeWrapperArgs
;
};
buildPythonPackage = {
inherit
(nixpkgsAttrs)
disabledTests
pythonImportsCheck
pytestFlagsArray
;
};
nixpkgs-overrides.from =
config.deps.apache-airflow.pythonPackages.apache-airflow;
}