srid/haskell-flake

`cabal.project` parse error due to leading comment

Open

#193 geöffnet am 21. Aug. 2023

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Nix (26 Forks)github user discovery
good first issue

Repository-Metriken

Stars
 (231 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

May be slightly different error than https://github.com/srid/haskell-flake/issues/186

I believe the leading comment

-- This project config requires cabal 2.4 or later

-- If in doubt, use GHC 8.8 to build hackage-server; see
-- 'tested-with' in 'hackage-server.cabal' for a list of currently
-- CI-validated GHC versions
--
-- with-compiler: ghc-8.8

packages: .

causes an error, in addition to the error on the packages line.

Fails with error: https://github.com/peterbecich/hackage-server/blob/cabal-project-parsing-error/cabal.project branch: https://github.com/peterbecich/hackage-server/tree/cabal-project-parsing-error

Succeeds: https://github.com/haskell/hackage-server/blob/06f831ef7a701967f22128087b3817cdff185cbc/cabal.project branch: https://github.com/peterbecich/hackage-server/tree/update-flake PR: https://github.com/haskell/hackage-server/pull/1244

Thanks again

Contributor Guide