1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00

Fix mk.namespaces bug: allow DEFAULT to be unset

This commit is contained in:
Antonio Gurgel 2023-12-04 21:44:21 -08:00
parent a052d499df
commit b59c8670d2

View file

@ -126,7 +126,9 @@ in {
# because "name" is taken literally.
if hasAttr name extraMetadata
then getAttr name extraMetadata
else extraMetadata.DEFAULT
else if extraMetadata ? DEFAULT
then extraMetadata.DEFAULT
else {}
);
})
namespaces;