fix: mkPython.passthru.selectPkgs
This commit is contained in:
parent
a01821000c
commit
0730565673
1 changed files with 4 additions and 4 deletions
|
@ -289,15 +289,15 @@ rec {
|
|||
++ overrides_simple_extra ++ (simple_overrides _)
|
||||
);
|
||||
py_final = python.override { packageOverrides = all_overrides;};
|
||||
py_final_with_pkgs = py_final.withPackages (ps: trace (toString (result.select_pkgs ps))
|
||||
select_pkgs = ps:
|
||||
(result.select_pkgs ps)
|
||||
++ (map (name: ps."${name}") (attrNames extra_pkgs_attrs))
|
||||
);
|
||||
++ (map (name: ps."${name}") (attrNames extra_pkgs_attrs));
|
||||
py_final_with_pkgs = py_final.withPackages (ps: select_pkgs ps);
|
||||
in
|
||||
py_final_with_pkgs.overrideAttrs (oa: {
|
||||
passthru = oa.passthru // {
|
||||
machNix.overrides = all_overrides;
|
||||
machNix.selectPkgs = result.select_pkgs;
|
||||
machNix.selectPkgs = select_pkgs;
|
||||
};
|
||||
})
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue