> Another error : > > ------------------------------> error start <------------------------------ > Preprocessing library plugins-1.4.1... > Building plugins-1.4.1... > [ 7 of 15] Compiling System.Plugins.Env ( src/System/Plugins/Env.hs, > dist/build/System/Plugins/Env.o ) > > src/System/Plugins/Env.hs:315:45: > Couldn't match expected type `PackageDBStack' > against inferred type `PackageDB' > In the second argument of `getInstalledPackages', namely > `(SpecificPackageDB f)' > In a stmt of a 'do' expression: > pkgIndex <- getInstalledPackages silent (SpecificPackageDB f) pc > In the expression: > do { pc <- configureAllKnownPrograms > silent defaultProgramConfiguration; > pkgIndex <- getInstalledPackages silent (SpecificPackageDB f) pc; > return $ allPackages pkgIndex } > cabal: Error: some packages failed to install: > plugins-1.4.1 failed during the building phase. The exception was: > ExitFailure 1 > ------------------------------> error end <------------------------------
It looks like it is not the last error :) Try this: pkgIndex <- getInstalledPackages silent [SpecificPackageDB f] pc Not sure it will work as expected after that, but you can just try :) _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe