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:
parent
a052d499df
commit
b59c8670d2
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue