Ha, that's precisely what prompted me to try this. I ran into this problem:
ben@home[1]:.../darcs/screened>cabal build -w ghc-9.6
Build profile: -w ghc-9.6.2 -O1
In order, the following will be built (use -v for more details):
- darcs-2.19.1 (lib:darcs, exe:darcs, test:darcs-test) (first run)
/home/ben/src/darcs/screened/release/gen-version-info.hs:7:1: error:
Could not load module ‘System.Process’
It is a member of the hidden package ‘process-1.6.5.0’.
Perhaps you need to add ‘process’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘process-1.6.20.0’.
Perhaps you need to add ‘process’ to the build-depends in your .cabal file.
It is a member of the hidden package ‘process-1.6.20.0’.
Perhaps you need to add ‘process’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
|
7 | import System.Process ( readProcess )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
callProcess: cabal "run" "./release/gen-version-info.hs" (exit 1): failed
Error: cabal: Failed to build darcs-2.19.1.
But with this patch applied it worked.
|