Merge pull request #237408 from ShamrockLee/apache-airflow-passthru
apache-airflow: fix passthru overriding
This commit is contained in:
commit
1b359ec9f3
1 changed files with 4 additions and 2 deletions
|
@ -43,12 +43,14 @@ let
|
|||
in
|
||||
# See note in ./python-package.nix for
|
||||
# instructions on manually testing the web UI
|
||||
with python.pkgs; (toPythonApplication apache-airflow).overrideAttrs (_:{
|
||||
with python.pkgs; (toPythonApplication apache-airflow).overrideAttrs (previousAttrs: {
|
||||
# Provide access to airflow's modified python package set
|
||||
# for the cases where external scripts need to import
|
||||
# airflow modules, though *caveat emptor* because many of
|
||||
# these packages will not be built by hydra and many will
|
||||
# not work at all due to the unexpected version overrides
|
||||
# here.
|
||||
passthru.pythonPackages = python.pkgs;
|
||||
passthru = (previousAttrs.passthru or { }) // {
|
||||
pythonPackages = python.pkgs;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue