diff --git a/Hash2Pub/Hash2Pub.cabal b/Hash2Pub/Hash2Pub.cabal index 8955263..bf77284 100644 --- a/Hash2Pub/Hash2Pub.cabal +++ b/Hash2Pub/Hash2Pub.cabal @@ -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 diff --git a/Hash2Pub/default.nix b/Hash2Pub/default.nix index 938bcc0..e380cde 100644 --- a/Hash2Pub/default.nix +++ b/Hash2Pub/default.nix @@ -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;