haskell-tz: fix build (of the test suite)
This commit is contained in:
parent
9eff988bbf
commit
5ac35c0f3b
@ -1,7 +1,6 @@
|
|||||||
{ cabal, binary, bindingsPosix, deepseq, HUnit, QuickCheck
|
{ cabal, binary, bindingsPosix, deepseq, HUnit, pkgs_tzdata
|
||||||
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
, QuickCheck, testFramework, testFrameworkHunit
|
||||||
, testFrameworkTh, time, tzdata, vector
|
, testFrameworkQuickcheck2, testFrameworkTh, time, tzdata, vector
|
||||||
, pkgs_tzdata
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
@ -9,11 +8,11 @@ cabal.mkDerivation (self: {
|
|||||||
version = "0.0.0.5";
|
version = "0.0.0.5";
|
||||||
sha256 = "03s5vs08dj3r7rq78ncya6x6dazvr93gfylyynwybpai09l2y89v";
|
sha256 = "03s5vs08dj3r7rq78ncya6x6dazvr93gfylyynwybpai09l2y89v";
|
||||||
buildDepends = [ binary deepseq time tzdata vector ];
|
buildDepends = [ binary deepseq time tzdata vector ];
|
||||||
preCheck = "export TZDIR=${pkgs_tzdata}/share/zoneinfo";
|
|
||||||
testDepends = [
|
testDepends = [
|
||||||
bindingsPosix HUnit QuickCheck testFramework testFrameworkHunit
|
bindingsPosix HUnit QuickCheck testFramework testFrameworkHunit
|
||||||
testFrameworkQuickcheck2 testFrameworkTh time tzdata
|
testFrameworkQuickcheck2 testFrameworkTh time tzdata
|
||||||
];
|
];
|
||||||
|
preConfigure = "export TZDIR=${pkgs_tzdata}/share/zoneinfo";
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/nilcons/haskell-tz";
|
homepage = "https://github.com/nilcons/haskell-tz";
|
||||||
description = "Efficient time zone handling";
|
description = "Efficient time zone handling";
|
||||||
|
Loading…
Reference in New Issue
Block a user