Giter Site home page Giter Site logo

Compilation error about wstunnel HOT 5 CLOSED

tobiasBora avatar tobiasBora commented on August 11, 2024
Compilation error

from wstunnel.

Comments (5)

erebe avatar erebe commented on August 11, 2024

Can you try with GHC 8.0.2 instead of 8.6.3 ?

PortNumber constructor is correctly imported in Types.hs, so I don't know why GHC complains in this case :x

from wstunnel.

tobiasBora avatar tobiasBora commented on August 11, 2024

Unfortunately NixOs does not have such old GHC version available... so not sure how to do that. :-\

from wstunnel.

tobiasBora avatar tobiasBora commented on August 11, 2024

Ok, it appears that the Network package changed a bit, so it's not possible to derive Generic automatically, but it's not a problem as it's still possible to implement Hashable from the numerous value of PortNumber. See my pull request (tested on both nix and stack) here.

from wstunnel.

erebe avatar erebe commented on August 11, 2024

Ha sorry, I can't upgrade to the latest LTS due to this issue #8
I need to make some changes in order for wstunnel to work with the latest tls package.

Sadly I don't have much free time right now, so it may take time before I upgrade it.

Can you try and let me know if you reproduce the issue #8 with your version, or if everything is working fine ? Just check that your client can connect to your wstunnel server start with wss://

from wstunnel.

erebe avatar erebe commented on August 11, 2024

it works now with the latest version of ghc (8.6.5)

from wstunnel.

Related Issues (20)

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.