haskellPackages.arbtt: provide tzdata for test suite
This commit is contained in:
@@ -1161,17 +1161,6 @@ self: super: {
|
||||
# https://github.com/elliottt/hsopenid/issues/15
|
||||
openid = markBroken super.openid;
|
||||
|
||||
# Version constraints on test dependency tasty-golden need to be relaxed:
|
||||
# https://github.com/nomeata/arbtt/pull/146
|
||||
arbtt = doJailbreak (overrideCabal (drv: {
|
||||
# The test suite needs the packages's executables in $PATH to succeed.
|
||||
preCheck = ''
|
||||
for i in $PWD/dist/build/*; do
|
||||
export PATH="$i:$PATH"
|
||||
done
|
||||
'';
|
||||
}) super.arbtt);
|
||||
|
||||
# https://github.com/erikd/hjsmin/issues/32
|
||||
hjsmin = dontCheck super.hjsmin;
|
||||
|
||||
|
||||
@@ -99,6 +99,19 @@ self: super: builtins.intersectAttrs super {
|
||||
ormolu = enableSeparateBinOutput super.ormolu;
|
||||
ghcid = enableSeparateBinOutput super.ghcid;
|
||||
|
||||
arbtt = overrideCabal (drv: {
|
||||
# The test suite needs the packages's executables in $PATH to succeed.
|
||||
preCheck = ''
|
||||
for i in $PWD/dist/build/*; do
|
||||
export PATH="$i:$PATH"
|
||||
done
|
||||
'';
|
||||
# One test uses timezone data
|
||||
testToolDepends = drv.testToolDepends or [] ++ [
|
||||
pkgs.tzdata
|
||||
];
|
||||
}) super.arbtt;
|
||||
|
||||
hzk = overrideCabal (drv: {
|
||||
preConfigure = "sed -i -e /include-dirs/d hzk.cabal";
|
||||
configureFlags = [ "--extra-include-dirs=${pkgs.zookeeper_mt}/include/zookeeper" ];
|
||||
|
||||
Reference in New Issue
Block a user