Trying to build prune-juice-0.6 from nixpkgs master with ghc 8.10.7:
[6 of 7] Compiling Data.Prune.Cabal ( src/Data/Prune/Cabal.hs, dist/build/Data/Prune/Cabal.o, dist/build/Data/Prune/Cabal.dyn_o )
src/Data/Prune/Cabal.hs:52:84: error:
• Couldn't match type ‘Distribution.Utils.Path.SymbolicPath
Distribution.Utils.Path.PackageDir
Distribution.Utils.Path.SourceDir’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Utils.Path.SymbolicPath
Distribution.Utils.Path.PackageDir
Distribution.Utils.Path.SourceDir
• In the second argument of ‘(</>)’, namely ‘dir’
In the second argument of ‘($)’, namely ‘fp </> dir’
In the expression: listFilesRecursive $ fp </> dir
|
52 | False -> fmap mconcat . for hsSourceDirs $ \dir -> listFilesRecursive $ fp </> dir
| ^^^
Trying to build prune-juice-0.6 from nixpkgs master with ghc 8.10.7: