snapframework / snap-loader-static Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
Please update the bounds of snap-loader-static to include template-haskell-2.10.* so that we can build this with GHC 7.10; specifically base-4.8.
I am currently getting this error message because of this dependency:
$ cabal install
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: hackathon-0.1 (user goal)
trying: aeson-0.8.0.2 (dependency of hackathon-0.1)
trying: template-haskell-2.10.0.0/installed-7dd... (dependency of
aeson-0.8.0.2)
next goal: snap-loader-static (dependency of hackathon-0.1)
rejecting: snap-loader-static-0.9.0.2 (conflict:
template-haskell==2.10.0.0/installed-7dd..., snap-loader-static =>
template-haskell>=2.2 && <2.10)
rejecting: snap-loader-static-0.9.0.1 (conflict:
template-haskell==2.10.0.0/installed-7dd..., snap-loader-static =>
template-haskell>=2.2 && <2.9)
rejecting: snap-loader-static-0.9.0 (conflict:
template-haskell==2.10.0.0/installed-7dd..., snap-loader-static =>
template-haskell>=2.2 && <2.8)
Backjump limit reached (change with --max-backjumps).
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
$
Snap and it's direct dependencies are on Stackage, in LTS 2.15 and Nightly 2015-06-24 forward, so I can install them with stack
fine. But using stack build
on a newly snap init
-ed project gives the following error:
-- While attempting to add dependency,
Could not find package snap-loader-dynamic in known packages
-- While attempting to add dependency,
Could not find package snap-loader-static in known packages
-- Failure when adding dependencies:
snap-loader-dynamic: needed (==0.10.*), but not present in build plan, latest is 0.10.0.3
snap-loader-static: needed (>=0.9 && <0.10), but not present in build plan, latest is 0.9.0.2
needed for package: todo-0.1
Can this be added to Stackage nightly's going forward?
Once again Template Haskell has been upgraded along with GHC to 7.10.1, so this library also needs to increment its TH dependency. Seems to build fine locally with the new constraints.
This package does not build with GHC newer than 8.6 due to the upper bound on template-haskell
.โI tried upping the bound and it builds with 8.8 and 8.10.โI am not sure if it works as it should since there is no test suite.
See patch:
diff --git a/snap-loader-static.cabal b/snap-loader-static.cabal
index 0987bf4..badccf4 100644
--- a/snap-loader-static.cabal
+++ b/snap-loader-static.cabal
@@ -28,7 +28,7 @@ Library
build-depends:
base >= 4 && < 5,
- template-haskell >= 2.2 && < 2.15
+ template-haskell >= 2.2 && < 2.17
if impl(ghc >= 6.12.0)
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
The problem is that all released versions of snap-loader-static
require template-haskell <2.9
, but GHC 7.8's template-haskell
is at version 2.9.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.