Git Product home page Git Product logo

Comments (3)

RyanGlScott avatar RyanGlScott commented on June 12, 2024

Do you mind giving us more detail about what environment you're running in? Because I have no problems building either the latest unix from Hackage or the latest commit from this repo using GHC 8.0.2 (and thus base-4.9.1.0) on 64-bit Linux.

As a sanity-check: you're using vanilla GHC 8.0.2, right? With no modifications?

from unix.

hvr avatar hvr commented on June 12, 2024

The line in question is

import GHC.Conc (Signal)

and looking at GHC's source-code, we find

module GHC.Conc
    (
-- ...
#ifndef mingw32_HOST_OS
        , Signal, HandlerFun, setHandler, runHandlers
#endif
-- ...
  ) 

So the only case the error can be observed is when trying to compile unix on windows, which is not supported for unix. In fact, recent versions of unix.cabal contain

    if os(windows)
        -- This package currently supports neither Cygwin nor MinGW,
        -- therefore os(windows) is effectively not supported.
        build-depends: unbuildable<0
        buildable: False

Consequently, I come to the conclusion that this bug report is invalid. If you disagree, please reopen.

from unix.

peterbecich avatar peterbecich commented on June 12, 2024

@tolysz , by any chance, did this error occur with GHCJS?

from unix.

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.