mirror of
https://github.com/srid/haskell-flake.git
synced 2024-10-05 18:47:18 +03:00
fix(haskell-parsers): accept empty defaults for packages
This commit is contained in:
parent
462f004e30
commit
d9287fee68
@ -58,7 +58,8 @@ in
|
||||
res.value
|
||||
else throwErrorOnCabalProjectParseError "Failed to parse ${cabalProjectFile}: ${builtins.toJSON res}"
|
||||
else
|
||||
[ projectRoot ];
|
||||
lib.optional (traversal.findSingleCabalFile projectRoot != null)
|
||||
projectRoot;
|
||||
in
|
||||
lib.listToAttrs
|
||||
(map
|
||||
|
Loading…
Reference in New Issue
Block a user