forked from schmittlauch/Hash2Pub
enable async and threading
This commit is contained in:
parent
ea6ebe590d
commit
6c90eb75b4
|
@ -46,7 +46,7 @@ category: Network
|
|||
extra-source-files: CHANGELOG.md
|
||||
|
||||
common deps
|
||||
build-depends: base ^>=4.12.0.0, containers ^>=0.6.0.1, bytestring, utf8-string ^>=1.0.1.1, network ^>=2.8.0.1, time ^>=1.8.0.2, cmdargs ^>= 0.10, cryptonite ^>= 0.25, memory, binary-strict
|
||||
build-depends: base ^>=4.12.0.0, containers ^>=0.6.0.1, bytestring, utf8-string ^>=1.0.1.1, network ^>=2.8.0.1, time ^>=1.8.0.2, cmdargs ^>= 0.10, cryptonite ^>= 0.25, memory, binary-strict, async
|
||||
ghc-options: -Wall
|
||||
|
||||
|
||||
|
@ -91,6 +91,8 @@ executable Hash2Pub
|
|||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
||||
ghc-options: -threaded
|
||||
|
||||
|
||||
test-suite Hash2Pub-test
|
||||
-- Test dependencies.
|
||||
|
@ -111,3 +113,4 @@ test-suite Hash2Pub-test
|
|||
other-extensions: OverloadedStrings
|
||||
build-depends: hspec, Hash2Pub
|
||||
|
||||
ghc-options: -threaded
|
||||
|
|
|
@ -3,14 +3,15 @@
|
|||
name = "nixpkgs-pinned";
|
||||
url = https://github.com/NixOS/nixpkgs/;
|
||||
ref = "refs/heads/release-20.03";
|
||||
rev = "6bbdce2b15665af6310069cc4f1e667e426c4356";
|
||||
rev = "08bd71704950d1dddcd55ddbf58adbd045e0ae50";
|
||||
#rev = "6bbdce2b15665af6310069cc4f1e667e426c4356";
|
||||
}) {},
|
||||
compiler ? "ghc865"
|
||||
}:
|
||||
|
||||
let
|
||||
hp = pkgs.haskell.packages."${compiler}";
|
||||
drv = hp.callCabal2nix "Hash2Pub" ./. {};
|
||||
drv = hp.callCabal2nix "Hash2Pub" ./Hash2Pub.cabal {};
|
||||
in
|
||||
{
|
||||
my_project = drv;
|
||||
|
|
Loading…
Reference in a new issue