mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-26 09:46:04 +03:00
fix(drvs/apache-airflow): don't use nixpgks-overides
This commit is contained in:
parent
6aecad7ef7
commit
d0bc947ef4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user