Giter VIP home page Giter VIP logo

snap-loader-static's People

Contributors

23skidoo avatar chowells79 avatar dbp avatar dzhus avatar gregorycollins avatar gwils avatar henrylaxen avatar kindaro avatar mightybyte avatar robertmassaioli avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snap-loader-static's Issues

Snap Loader Static does not support template haskell 2.10

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.
$

Add snap-loader-static to Stackage

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?

Update TH dependency

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.

Update to support modern GHC?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.