-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix postfix apt installation & remove ** usage so cabal copy works. #826
Conversation
That's news to me; can you elaborate on why you think those wouldn't work? And btw, the Dockerfile desperately needs to be converted to use v2-* commands, as building with the old-style commands is not something well-tested nor actively supported. |
I can probably fix this up. I think I was using an older cabal version initially.
This one is more problematic. The sandbox command is v1-only. Not sure if I can just skip it or not. |
Well, there's a todo-comment near the Lines 38 to 40 in b4fdd67
|
The
There is no reason why cabal-2.4 can't figure it out, but it doesn't. I've pushed the v2- style updates though. |
I have run a build of the current
Not that the error occurs while |
For what it's worth, https://cloud.docker.com/repository/registry-1.docker.io/psimons/hackage-server/builds/fb8b0316-6639-41d4-a91f-e2136e2eb212 shows a log of the complete docker build (and the failure):
|
Ah, this is getting bitten by haskell/cabal#6125 for |
#836 fixes the build. It uses a locally compiled version of |
@peti shall we close this? |
Yes, I all issue this PR addresses are now fixed in |
Minimum changes I needed to have
docker build .
work.ghc-8.2.1
is no longer available inppa:hvr/ghc
**
glob didn't work so I flattened thedata-files
sectioncabal-install-2.4
was also neededpostfix
refuses to obey-y
, but a noninteractive frontend forapt-get
works.