{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigssyqnbpbockpqniieb4nhvbavizkmtikjiwmsapzj6hwbk2imwu",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mk3a3ajs6ro2"
},
"path": "/t/how-to-set-up-a-gitlab-ci-cabal-cache/13967#post_3",
"publishedAt": "2026-04-22T09:30:53.000Z",
"site": "https://discourse.haskell.org",
"textContent": "I’ve tried `cabal new-install cabal-cache`, but this fails due to version constraints:\n\n\n $ cabal new-install cabal-cache\n Resolving dependencies...\n Error: [Cabal-7107]\n Could not resolve dependencies:\n [__0] trying: cabal-cache-1.2.0.0 (user goal)\n [__1] trying: base-4.19.2.0/installed-9f38 (dependency of cabal-cache)\n [__2] next goal: amazonka-s3 (dependency of cabal-cache)\n [__2] rejecting: amazonka-s3-2.0 (conflict: base==4.19.2.0/installed-9f38, amazonka-s3 => base>=4.12 && <4.19)\n [__2] skipping: amazonka-s3; 1.6.1, 1.6.0, 1.5.0, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.3.7, 1.3.6, 1.3.5, 1.3.4, 1.3.3.1, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.2.0.2, 1.2.0.1, 1.2.0, 1.1.0, 1.0.1, 1.0.0, 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1, 0.0.0 (has the same characteristics that caused the previous version to fail: excludes 'base' version 4.19.2.0)\n [__2] fail (backjumping, conflict set: amazonka-s3, base, cabal-cache)\n After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, cabal-cache, amazonka-s3\n\n\nI don’t even want to sync to an S3 bucket. A directory is fine for me.",
"title": "How to set up a GitLab CI cabal cache"
}