Skip to content

Build Error #10

@idontgetoutmuch

Description

@idontgetoutmuch
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.05.tar.gz myShell.nix
...
Building test suite 'unit-tests' for funflow-1.5.0..
[1 of 5] Compiling Control.Arrow.Async.Tests ( test/Control/Arrow/Async/Tests.hs, dist/build/unit-tests/unit-tests-tmp/Control/Arrow/Async/Tests.o, dist/build/unit-tests/unit-tests-tmp/Control/Arrow/Async/Tests.dyn_o )
[2 of 5] Compiling Funflow.ContentStore ( test/Funflow/ContentStore.hs, dist/build/unit-tests/unit-tests-tmp/Funflow/ContentStore.o, dist/build/unit-tests/unit-tests-tmp/Funflow/ContentStore.dyn_o )
[3 of 5] Compiling Funflow.SQLiteCoordinator ( test/Funflow/SQLiteCoordinator.hs, dist/build/unit-tests/unit-tests-tmp/Funflow/SQLiteCoordinator.o, dist/build/unit-tests/unit-tests-tmp/Funflow/SQLiteCoordinator.dyn_o )

test/Funflow/SQLiteCoordinator.hs:56:3: error:
    • The constructor ‘Process.OpenExtHandle’ should have 2 arguments, but has been given 3
    • In the pattern: Process.OpenExtHandle h _ _
      In a case alternative:
          Process.OpenExtHandle h _ _ -> return (Just h)
      In the second argument of ‘($)’, namely
        ‘\case
           Process.OpenHandle h -> return (Just h)
           Process.OpenExtHandle h _ _ -> return (Just h)
           Process.ClosedHandle {} -> return Nothing’
   |
56 |   Process.OpenExtHandle h _ _ -> return (Just h)
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^

builder for '/nix/store/c9apzjda73d5bp0ddf4kyjczin2ymk4d-funflow-1.5.0.drv' failed with exit code 1
cannot build derivation '/nix/store/cd6grdjfkzc79gmqws8raw1m61n3yziz-ghc-8.10.4-with-packages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/cd6grdjfkzc79gmqws8raw1m61n3yziz-ghc-8.10.4-with-packages.drv' failed

So I am trying

funflow = super.haskell.lib.dontCheck (hself.callHackage "funflow" "1.5.0" {});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions