haskell-arbtt: fix the test suite

This commit is contained in:
Peter Simons
2019-09-07 20:00:22 +02:00
parent 3194a1eabd
commit 5f220007d5
2 changed files with 9 additions and 1 deletions
@@ -1219,4 +1219,13 @@ self: super: {
# https://github.com/elliottt/hsopenid/issues/15
openid = markBroken super.openid;
# The test suite needs the packages's executables in $PATH to succeed.
arbtt = overrideCabal super.arbtt (drv: {
preCheck = ''
for i in $PWD/dist/build/*; do
export PATH="$i:$PATH"
done
'';
});
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super