overrides: Fix build system overrides when overriden derivation is null

This commit is contained in:
adisbladis 2022-09-02 01:33:00 +12:00
parent 6613d3beb9
commit dcef8aec9d

View file

@ -37,6 +37,7 @@ let
(
# Flit only works on Python3
if (attr == "flit-core" || attr == "flit" || attr == "hatchling") && !self.isPy3k then drv
else if drv == null then null
else
drv.overridePythonAttrs (
old: