Skip to content

Commit

Permalink
Update overides_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
guyneedhamcanva authored Oct 20, 2022
1 parent 50e31d0 commit 13b187f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mach_nix/generators/overides_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ def _gen_imports(self, pkgs):
else
filter
(dep:
isPyModule dep || pkgsData ? "${{normalizeName (get_pname dep)}}"
)
if ! isPyModule dep || pkgsData ? "${{normalizeName (get_pname dep)}}" then
true
else
false)
inputs;
updatePythonDeps = newPkgs: pkg:
if ! isPyModule pkg then pkg else
Expand Down

0 comments on commit 13b187f

Please sign in to comment.