-
Notifications
You must be signed in to change notification settings - Fork 724
Open
Description
Describe the bug
This warning shows up while cabal is processing multiple packages in parallel.
Preprocessing library for constraint-set-0.0.1...
Preprocessing library for ca-template-haskell-0.1.0...
Preprocessing library for sns-log-0.1.0...
Preprocessing library for ca-cron-0.0.1...
Configuring library for pmeta-0.0.1...
Configuring library for ca-geo-0.0.1...
Configuring library for data-version-0.0.1...
Configuring library for nss-storage-0.0.1...
Configuring library for ca-control-0.2.4...
Configuring library for ca-dns-0.1.0...
Warning: [no-default-language] Packages using 'cabal-version: >= 1.10' and
before 'cabal-version: 3.4' must specify the 'default-language' field for each
component (e.g. Haskell98 or Haskell2010). If a component uses different
languages in different modules then list the other ones in the
'other-languages' field.
Preprocessing library for pmeta-0.0.1...
Preprocessing library for data-version-0.0.1...
Configuring library for sourced-json-0.0.1...
Preprocessing library for ca-control-0.2.4...
Preprocessing library for nss-storage-0.0.1...
Preprocessing library for ca-dns-0.1.0...
Preprocessing library for ca-geo-0.0.1...
I don't know which component, let alone which package, has triggered the warning.
To Reproduce
?
Expected behavior
If the component missing a default language starts at line 45 of the relevant cabal file, I'd expect the above to look like:
Preprocessing library for constraint-set-0.0.1...
Preprocessing library for ca-template-haskell-0.1.0...
Preprocessing library for sns-log-0.1.0...
Preprocessing library for ca-cron-0.0.1...
Configuring library for pmeta-0.0.1...
Configuring library for ca-geo-0.0.1...
Configuring library for data-version-0.0.1...
Configuring library for nss-storage-0.0.1...
Configuring library for ca-control-0.2.4...
Configuring library for ca-dns-0.1.0...
/path/to/package.cabal:45: Warning: [no-default-language] for package:component
Packages using 'cabal-version: >= 1.10' and
before 'cabal-version: 3.4' must specify the 'default-language' field for each
component (e.g. Haskell98 or Haskell2010). If a component uses different
languages in different modules then list the other ones in the
'other-languages' field.
Preprocessing library for pmeta-0.0.1...
Preprocessing library for data-version-0.0.1...
Configuring library for sourced-json-0.0.1...
Preprocessing library for ca-control-0.2.4...
Preprocessing library for nss-storage-0.0.1...
Preprocessing library for ca-dns-0.1.0...
Preprocessing library for ca-geo-0.0.1...
System information
- NixOS 25.05
- Cabal 3.12 and 3.16
- GHC 9.6.6