Comments (11)
The file CONTRIBUTING.md
also contains some instructions to build via stack
, so I guess it also would need an update :)
from containers.
Any particular reason to use GHC 8.4? Is it with Stack?
from containers.
Yes I used stack build
on a clone of the current repository. The current stack.yaml
uses the lts-12.26
so that's why. I've tried other resolvers though, and it also fails. More recent ones fail with broken dependencies. For instance when using
resolver: ghc-9.6.1
The build fails with broken dependencies :
While constructing the build plan, Stack encountered the following errors:
In the dependencies for containers-tests-0:
QuickCheck needed, but the Stack configuration has no specified
version (latest matching version is 2.14.2)
nothunks needed, but the Stack configuration has no specified
version (latest matching version is 0.1.3)
needed since containers-tests is a build target.
from containers.
Again, this only happens with containers-test
, when setting
packages:
- containers
in stack.yaml
, everything compiles fine.
from containers.
I would recommend using vanilla cabal
when working on containers
. Given how outdated is stack.yaml
you seem to be the first daring soul to use stack
in quite a few years.
Try stack clean
?
from containers.
stack clean
doesn't change anything. I guess I'll switch to cabal.
Thanks a lot for your quick answers ! :-)
from containers.
The background is that this kind of error usually happens when there are stalled interface files, written by a newer version GHC but read by an old one or vice versa. Usually updating Stack, cleaning .stack-work
and using a reasonably recent GHC (e. g., 9.2) solves it, but there might be some complications.
Last time I used Stack with boot libraries, it got somewhat confused and asked me to pin all boot dependencies as extra-deps
. This basically limits any added value, and it is easier to use Cabal.
from containers.
@Bodigrim , I don't remember who wanted a stack.yaml
. Should we just get rid of it to reduce confusion?
from containers.
Reopening because we don't want stale code that tricks people.
from containers.
Yeah, I think it's better to drop stack.yaml
.
from containers.
I'm working on that.
from containers.
Related Issues (20)
- Symmetric difference for sets
- Fusible Set.fromDistinctAscList definition HOT 10
- Fusible IntSet.fromDistinctAscList definition HOT 3
- NonEmpty for CyclicSCC HOT 11
- better instance Hashable IntSet? HOT 8
- Unusual definition of foldrBits and foldlBits HOT 3
- Unnecessary CPP and C header in `Data.Map.Internal.Debug.html`?
- Release for GHC 9.8.1 HOT 17
- feat request: Add `popLeftWithValue` and `popWithValue` in `Data.Sequence` HOT 5
- Data.Graph: detect cycles utility functions HOT 2
- Data.Map.mergeWithKey doesn't match documentation
- Flag to introduce pedantic invariant checks? HOT 2
- Map.unionWith is over specialized and not consistent with intersectionWith HOT 10
- Add `flattenSCC1 : SCC vertex -> Data.List.NonEmpty.NonEmpty vertex` HOT 2
- Data.Map.Internal does not export insertMin
- Repo: remove merged branches?
- Contribution guide outdated?
- Potential memory optimization for IntMap and IntSet HOT 8
- Errors when trying to generate a test coverage report HOT 10
- Full IntSets? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containers.